pg—displays files a page at a time

pg [ –number ] [ –p string ] [ –cefnrs ] [ +linenumber ]
   [ +/pattern/ ] [ filename … ]

The pg command is a filter that allows you to page through filenames one screenful at a time on a terminal. If no filename is specified or if it encounters the – filename, pg reads from standard input. Each screenful is followed by a prompt. If the user types a RETURN, another page is displayed. It allows you to back up and review something that has already passed. (See "more" on page703).

Get Linux Shells by Example now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.