Jan. 23, 2011, 2:54 a.m.
posted by juff
Sooner or later, it happens. You give an rm command to delete a file, and UNIX deletes the wrong file or deletes everything in the directory. Chances are you typed an extra space or spelled a filename wrong, but the point is — what now?
See Chapter 22 to find out how to proceed if you delete something important. The best approach is to keep extra copies of important files: in another directory, on a CD-R or CD-RW disc, or on a backup tape that either you or your system administrator makes. If you haven’t talked to your system administrator about backups, now is a good time to find out whether your files back up automatically; you can also tell him which of your directories contain files you want to have backed up.