delete file from commandline code example Example 1: remove file via command line del filename -- removes filename Example 2: terminal delete fle rm MyFile.rtf