Home > Articles

  • Print
  • + Share This
This chapter is from the book

less

The less command is used to display large chunks of text data. Unlike the cat command, the less command will pause after displaying the first page of information. Keys on the keyboard allow the user to scroll through the document. The following table highlights the more useful movement keys:

Movement Key Description
h Displays a help screen (summary of the less command movement keys).
SPACEBAR Move forward one page in the current document.
b Move back one page in the current document.
ENTER Move down one line in the current document; the down-arrow key can also perform this operation.
UP ARROW Move up one line in the current document.
/term Search the document for term (this can be a regular expression or just plain text).
q Quit viewing the document and return to the shell.
  • + Share This
  • 🔖 Save To Your Account