rm removes one or more files from the filesystem.
rm file1 [file2 ..]
||recursivec copy (copy the full directory including files and sub-directories)|
||prompt before overwriting|
||do not prompt before overwriting|
rm removes only files, but the
-r option accepts directories as arguments.
beware of the use of
rm -fr which can be (very) dangerous.