Name
less
Synopsis
less [options] [filename]
less is a program for paging through files or other output. It was written in reaction to the perceived primitiveness of more (hence its name). Some commands may be preceded by a number.
URL: http://www.greenwoodsoftware.com/less.
The lesskey command configures keybindings for less. See lesskey(1) for more information on it.
Options
-[z]num,--window=numSet number of lines to scroll to num. Default is one screenful. A negative num sets the number to num lines less than the current number.
+[+]commandRun command on startup. If command is a number, jump to that line. The option ++ applies this command to each file in the command-line list.
-?,--helpPrint help screen. Ignore all other options; do not page through file.
-a,--search-screenWhen searching, begin after last line displayed. (Default is to search from second line displayed.)
-bbuffers,-buffers=buffersUse buffers buffers for each file (default is 10). Buffers are 1 KB in size.
-B,--auto-buffersDo not automatically allocate buffers for data read from a pipe. If
-bspecifies a number of buffers, allocate that many. If necessary, allow information from previous screens to be lost.-c,--clear-screenRedraw screen from top, not bottom.
-C,-CLEAR-SCREENRedraw screen by clearing it and then redrawing from top.
-d,--dumbSuppress dumb-terminal error messages.
-e,--quit-at-eofAutomatically exit after reaching EOF twice.
-E,--QUIT-AT-EOFAutomatically exit after reaching EOF once.
-f,--forceForce opening ...