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