how to make text file
How to create a txt file in Ubuntu terminal? Using the cat Command Redirection Press Enter. The terminal will be waiting for input. Enter the text you want in the file. Press Enter after each line. Press Ctrl + D when you are done. ... Run the cat command to check that the file has been created and contains the desired content.