This command is used to delete a file. To delete the file junk2 do
rm junk2With the course default settings, you will be prompted to be sure you really want to delete the file. To signify your consent, type y, followed by the Enter key. Entering anything else or nothing will cancel the command. After you do this, list your directory with ls to verify that the file is gone.