Pg (Unix)

From Wikipedia, the free encyclopedia
Jump to navigation Jump to search

Template:Lowercase

File:Pg (Unix)-screenshot.png
Example output of the Template:Mono command in xterm.

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]

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.

References

<templatestyles src="Reflist/styles.css" />

Script error: No such module "Check for unknown parameters".

See also

Script error: No such module "Portal".

Script error: No such module "Navbox".


Template:Asbox