make a file in command line code example Example 1: terminal command to create new file touch filename.txt Example 2: command line make file touch term-paper.txt