delete from cli code example Example 1: how to remove a file in command line del filename Example 2: terminal delete fle rm MyFile.rtf