Notes
The less
command takes a list of file names for its arguments and displays its contents screen by screen.
► Press q
to quit.
► Press e
to scroll forward one line.
► Press y
to scroll backward one line.
► Press f
to scroll forward one window (or press the spacebar).
► Press b
to scroll backward one window.
► Press d
to scroll forward one half-window.
► Press u
to scroll backward one half-window.
► Press g
to jump to first line in the current file.
► Press G
to jump to last line in current file.
► Press :n
to move to the next file ().
► Press :q
to move to the previous file.
► Press Ctrl+g
(or Ctrl+G
) to show the current file name, start/end number of lines shown, bytes read, and percentage of data shown.
Example : file1 lines 52-102/118 byte 6992/8145 85% (press RETURN)