pg
[options] [files]Display the named files on a terminal, one page at a time. After each screen is displayed, you are prompted to display the next page by pressing the Return key. Press h
for help with additional commands; press q
to quit. See also more in Chapter 2.
-c
Clear screen (same as -c
of more).
-e
Do not pause between files.
-f
Do not split long lines.
-n
Issue a pg command at the prompt without waiting for a carriage return (more works this way).
-p
strUse string str for the command prompt. The special variable %d
displays the page number.
-r
Restricted mode; shell escapes aren't allowed.
-s
Display messages in standout mode (reverse video).
-
nUse n lines for each window (default is a full screen).
+
numBegin displaying at line number num.
+/
patBegin displaying at first line containing pattern pat.
pg -p 'Page %d :'
file