From Knoppix Documentation Wiki
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