A terminal pager, paging program or simply pager is a computer program used to view (but not modify) the contents of a text file moving down the file one line or one screen at a time. Some, but not all, pagers allow movement up a file.[1] A popular cross-platform terminal pager is more, which can move forwards and backwards in text files but cannot move backwards in pipes.[2] less is a more advanced pager that allows movement forward and backward, and contains extra functions such as search.[3]

Screenshot of more, a popular terminal pager

Some programs incorporate their own paging function, for example bash's tab completion function.[4]

Examples

edit

References

edit
  1. ^ "Debian: An overview of file paging applications".
  2. ^ manpage of more
  3. ^ manpage of less
  4. ^ "Bash Reference Manual: Programmable Completion Builtins". gnu.org.
  5. ^ "PG" from linuxmanpages.com at the Wayback Machine (archived 3 September 2014)
  6. ^ "most(1): browse/page through text file - Linux man page". die.net.
  7. ^ "View-Mode".