O'Reilly logo

A Practical Guide to Red Hat® Linux® 8 by Mark G. Sobell

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required