Home Explore Blog CI



man-pages

2nd chunk of `less.man`
928bc450083161848ad88b515bf4e2f5c3a5e66858174f2a0000000100000fc2
            Scroll backward N lines, default one half of the screen size.  If N is specified, it becomes the new default for subsequent d and u commands.

       J      Like j, but continues to scroll beyond the end of the file.

       K or Y Like k, but continues to scroll beyond the beginning of the file.

       ESC‐) or RIGHTARROW
              Scroll horizontally right N characters, default half the screen width (see the -# option).  If a number N is specified, it becomes the default for future RIGHTARROW and LEFTARROW commands.  While  the  text  is
              scrolled, it acts as though the -S option (chop lines) were in effect.

       ESC‐( or LEFTARROW
              Scroll horizontally left N characters, default half the screen width (see the -# option).  If a number N is specified, it becomes the default for future RIGHTARROW and LEFTARROW commands.

       ESC‐} or ^RIGHTARROW
              Scroll horizontally right to show the end of the longest displayed line.

       ESC‐{ or ^LEFTARROW
              Scroll horizontally left back to the first column.

       r or ^R or ^L
              Repaint the screen.

       R      Repaint the screen, discarding any buffered input.  That is, reload the current file.  Useful if the file is changing while it is being viewed.

       F      Scroll  forward,  and  keep  trying to read when the end of file is reached.  Normally this command would be used when already at the end of the file.  It is a way to monitor the tail of a file which is growing
              while it is being viewed.  (The behavior is similar to the "tail -f" command.)  To stop waiting for more data, enter the interrupt character (usually ^C).  On some systems you can also use ^X.

       ESC‐F  Like F, but as soon as a line is found which matches the last search pattern, the terminal bell is rung and forward scrolling stops.

       g or < or ESC‐<
              Go to line N in the file, default 1 (beginning of file).  (Warning: this may be slow if N is large.)

       G or > or ESC‐>
              Go to line N in the file, default the end of the file.  (Warning: this may be slow if N is large, or if N is not specified and standard input, rather than a file, is being read.)

       ESC‐G  Same as G, except if no number N is specified and the input is standard input, goes to the last line which is currently buffered.

       p or % Go to a position N percent into the file.  N should be between 0 and 100, and may contain a decimal point.

       P      Go to the line containing byte offset N in the file.

       {      If a left curly bracket appears in the top line displayed on the screen, the { command will go to the matching right curly bracket.  The matching right curly bracket is positioned on  the  bottom  line  of  the
              screen.  If there is more than one left curly bracket on the top line, a number N may be used to specify the N‐th bracket on the line.

       }      If  a  right  curly  bracket  appears  in the bottom line displayed on the screen, the } command will go to the matching left curly bracket.  The matching left curly bracket is positioned on the top line of the
              screen.  If there is more than one right curly bracket on the top line, a number N may be used to specify the N‐th bracket on the line.

       (      Like {, but applies to parentheses rather than curly brackets.

       )      Like }, but applies to parentheses rather than curly brackets.

       [      Like {, but applies to square brackets rather than curly brackets.

       ]      Like }, but applies to square brackets rather than curly brackets.

       ESC‐^F Followed by two characters, acts like {, but uses the two characters as open and close brackets, respectively.  For example, "ESC ^F < >" could be used to go forward to the > which matches the < in the top dis‐
              played line.

       ESC‐^B Followed by two characters, acts like }, but uses the two characters as open and close brackets,

Title: Less Command Manual: Navigation Commands (cont.)
Summary
This section of the `less` command manual details commands for advanced navigation within a file. These include horizontal scrolling, screen refreshing, following file growth (like `tail -f`), and jumping to specific lines, percentages, or byte offsets. Additionally, it covers commands for navigating between matching brackets or parentheses in the displayed text.