Terminal pager

Summary

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".
  • Das, Sumitabha (2012). Your UNIX/Linux: The Ultimate Guide (3rd ed.). McGraw-Hill. pp. 31–33, 36, 53, 76–78, 89, 172, 717, 729. ISBN 978-0-07-337620-2.
  • Koch, Jeff (1999). Practical UNIX. Indianapolis, Ind.: Que Pub. ISBN 0-585-33105-7. OCLC 45842916.