pg (Unix)

pg is a terminal pager program on Unix and Unix-like systems for viewing text files. It can also be used to page through the output of a command via a pipe. pg uses an interface similar to vi, but commands are different.[1]

Example output of the pg command in xterm.

As of 2018, pg has been removed[2] from the POSIX specification, but is still included in util-linux. Users are expected to use other paging programs, such as more, less or most.

History

pg is the name of the historical utility on BSD UNIX systems. It was written to address the limit of the historical more command not being able to traverse the input backward. Eventually that ability was added also to more, so both are quite similar.

gollark: Inasmuch as you have an object of some kind and a set of transformations which you could use to try and make it be another object.
gollark: You know, in some sense, organic chemistry is the same problem as computer algebra.
gollark: Oh yes, welcome and consider undergoing bee conversion.
gollark: CONTRIBUTE it to OEIS.
gollark: TCMP doesn't include a mechanism for actually feeding data into the dream.

References

See also


This article is issued from Wikipedia. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.