ubuntu create a file in terminal and write code example Example: how to make file in terminal ubuntu $ touch file1.txt