pg
Display a file or pipeline one screen at a time
Usage: pg [list-of-files]
Standard Input: Used only if no list-of-files is given
Standard Output: Used to display results
SEE ALSO
For more information, see page 211 |
Note
The prompt at the end of each screen is a colon (:).
Useful commands after you are in pg:
h displays a help menu.
Enter goes to the next page.
- goes to the preceding page.
$ goes to the last page (can crash the system on a huge pipeline).
1 goes to the first page.
+n goes forward n pages.
-n goes backward n pages.
nl goes to line n.
/string goes to the next occurrence of that string.
/ repeats the preceding search.
/string/b put the found ...
Get Practical UNIX now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.