On Linux systems, this command displays the contents of files and displays the command on one page at a time in the terminal. less is very useful and is mainly used to view the contents of large files. This navigation comes into operation through a keyboard shortcut.
To view the contents in your file, you must enter:
less your-file-name
To see line numbers in each line, use the –N option:
less -N your-file-name
Less Keyboard Navigation
![](https://help.hostry.com/wp-content/uploads/2019/09/Снимок-экрана-от-2019-09-19-12-06-04.png)
Leave A Comment?