how to delete file with terminal code example Example: how to delete file using terminal command? rm file_1.txt #Works in the current directory