make file from terminal code example Example 1: how to make file in terminal ubuntu $ touch file1.txt Example 2: how to create a file in terminal $ mkdir -p turtle/images