The rm command

The rm command is used to delete files. ``rm -i'' will ask before deleting each file; you may well have rm aliased to do this automatically. ``rm -r'' will recursively delete a directory and all its contents (normally rm will not delete directories, while rmdir will only delete empty directories). ``rm -f'' will forcibly delete files without asking; this is mostly useful if you have rm aliased to ``rm -i'' but want to delete lots of files without confirming each one.