Difference between revisions of "Rm"
From Knoppix Documentation Wiki
(Init from PHPWiki) |
(Added Category:Useful Linux Commands) |
||
| Line 11: | Line 11: | ||
Look for links first, before deleting a sub-directory. <br> | Look for links first, before deleting a sub-directory. <br> | ||
'''find . -type l -print''' | '''find . -type l -print''' | ||
| + | |||
| + | |||
| + | [[Category:Useful Linux Commands]] | ||
Latest revision as of 11:22, 17 September 2005
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