how to make a new file in ubuntu terminal code example Example 1: create file ubuntu touch newfile Example 2: how to make file in terminal ubuntu $ touch file1.txt