The remove command rm is used to delete files from the file system. After options this command expects a file name. Wild cards are permitted here, so the command can remove more than one file at a time. Several options for this command are:
Example:
rm -r /home/fred/
will remove all the files in all the directories of /home/fred.