less command

In console :

less [OPTIONS] filename
less -N filename # Display line numbers
less -X filename # By default, when exiting the command, the text disapear. -X will keep the text displayed
less +F filename # Follow mode to monitor any changes to the file

Interactive mode :

ActionKeyExampleComments
Search/text_to_search--
Next occurence of the searchn--
Previous occurence of the searchN--
----
Next Pagef or Space bar--
Previous Pageb--
Go x lines forwardxf50f to go 50 lines forward-
Go x lines backwardxb50f to go 50 lines forward-
Go to the topg--
Go to the bottomG--
Go to line xxg50g to go to the line 50-
Go to the topp--
Go to x percent of the filexp50p to go to the middle of the of the file-
Helph--
Quitq--