pg

NAME

pg - simple pager utility

SYNOPSIS

pg [-n lines] [file ...]

DESCRIPTION

The pg(1) command is a simple pager for reading files. If no file is specified, pg(1) reads the standard input. It accepts a very few commands, listed after the options.

The pg(1) utility takes the following options:

-n lines
Display lines number of lines at a time.

This pg(1) implementation is very simple. It accepts the following commands while displaying a file; commands must be followed by ENTER:

?, h, H
Display help messages.
q
Quit displaying current file and go on to the next file.
Q
Quit entirely.
ENTER
Any other command (or simply ENTER) displays the next screen of text.

DIAGNOSTICS

The pg(1) utility exits with the value 0 on success and >0 on failure.

SEE ALSO

more(1)