less

Paging Files Using less

  • Outputs text file page by page

  • ⟶ page size determined from terminal size

  • Operation: page/line up/down

  • Usage as in man (less is man ‘s default pager)

Keyboard shortcuts …

Key

Description

h

Help

q

Quit (either less, or the help screen if that is active)

g

Jump to beginning

G

Jump to end

/

Search forward

?

Search backward

n

Jump to next search hit

N

Jump to previous search hit

Help Screen (Enter With h)

../../../../../../_images/less-help.png