Removing a file is even easier than removing a directory, simply type “rm file.ext” where file.ext is the filename.