1. To remove a single file:
rm help.txt
This removes the file help.txt from the current directory.
2. To remove several files:
rm artwork/figure[2-7]
This removes files figure2 through to figure7 from the subdirectory artwork.
3. To remove files interactively:
rm -i *.fm
This will prompt you to confirm that you want to remove a file from the current directory whenever that file has the suffix .fm.
Answering y will delete the file. The file is not deleted if any other response is given.