Contents
How do you read a text file in Linux terminal?
Crack open a terminal window and navigate to a directory containing one or more text files that you want to view. Then run the command less filename , where filename is the name of the file you want to view.
How do I read a text file in Unix?
Use the command line to navigate to the Desktop, and then type cat myFile. txt . This will print the contents of the file to your command line. This is the same idea as using the GUI to double-click on the text file to see its contents.