how to create a file on terminal code example Example 1: command line make file touch term-paper.txt Example 2: how to create new file through terminal touch bar.txt