how to create and edit text file in linux by using terminal code example Example: how to make file in terminal ubuntu $ touch file1.txt