how to create a text file in command line linux code example Example: cat create file cat >"filename"