less
Displays text files, one screen at a time
less [options] [file-list]
The less utility displays text files, one screen at a time and is similar to more but includes many enhancements. After displaying a screen of text, less displays a prompt and waits for you to enter a command. You can skip forward and backward in the file, invoke an editor, search for a pattern, or perform a number of other tasks. This utility takes its input from files you specify on the command line or from standard input.
Arguments
The file-list is the list of files you want to view. If there is no file-list, less reads from standard input.
Options
This section describes only some of the more commonly used options. Refer to the less man page for a complete list of ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access