Rm


From Knoppix Documentation Wiki
Revision as of 11:22, 17 September 2005 by Dr Kludge (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

rm <<<<---- remove file(s).

BE VERY CAREFUL. Linux does not have an undelete command.

rm -iv *.txt

If you are Sys Admin and run as root. Get into the habit of using rm -iv. You'll save yourself days of trouble.

Don't use rm -r or rm -rf, unless you've double check exactly what you are doing and WHERE.


Look for links first, before deleting a sub-directory.
find . -type l -print