linux files Essential Tools for Managing Text File Contents Command Explanation less Opens the text file in a pager, which allows for easy reading cat Dumps the contents of the text file on the screen head Shows the top of the text file tail Shows the bottom of the text file cut Used to filter specific columns or characters from a text file sort Sorts the contents of a text file wc Counts the number of lines, words, and characters in a text file   Apart from their use on a text file, these commands