Deleting Safely: rm and rmdir

rm deletes files for good, with no trash can to undo it, so you check the same names with ls first, let rm -i ask about each file, and use rmdir for empty folders and rm -r only after looking inside.

Updated

Cheat sheet for the lesson Deleting Safely: rm and rmdir: rm deletes files for good, with no trash can to undo it, so you check the same names with ls first, let rm -i ask about each file, and use rmdir for empty folders and rm -r only after looking inside.
Category
Bash
Level
Novice
Tags
linux, rm, rmdir, unix, wildcard