Using the pg command

Use the pg command to read the files named in the File parameter and writes them to standard output one screen at a time.

If you specify hyphen (-) as the File parameter or run the pg command without options, the pg command reads standard input. Each screen is followed by a prompt. If you press the Enter key, another screen displays. Subcommands used with the pg command let you review content that has already passed.
For example, to look at the contents of the file myfile one page at a time, type the following:
pg myfile