If you ever wanted to delete a file, but get a confirmation prompt before deleting the file? Then do this command:

This will remove the file trash.txt with a confirmation. The -i is there to tell the rm utility you want to display a confirmation before deleting the file.

Code/Command:
rm -i trash.txt