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