That doesn't seem right. I can delete nano's executable while it's running, and rm can remove itself.
What am I missing?
What am I missing?
Essentially, a file can have 0 or more names linked to it. As long as a file has at least one name or at least one process with it open, it will persevere.
By contrast, shred actually writes to the underlying file.