create file using command code example Example 1: create file in linux touch <filename>.<extension> Example 2: command line make file touch term-paper.txt