how to write text on a text file using bash code example Example: How do you create a file in shell script? touch NewFile.txt