make file with terminal linux code example Example 1: how to make file in terminal ubuntu $ touch file1.txt Example 2: linux make file touch file1.txt #Create file1.txt