[Babase] Jumping to a line in a file using Unix less

Karl O. Pinc babase@www.eco.princeton.edu
Mon, 28 Mar 2005 20:54:12 +0000


On 03/27/2005 06:03:22 PM, Karl O. Pinc wrote:
I just re-read the help page in less.  It says:


    Commands marked with * may be preceded by a number, N.
    Notes in parentheses indicate the behavior if N is given.
...
  g  <  ESC-<       *  Go to first line in file (or line N).

So, to go to a given line number, type the number and then
press the 'g' key.

Duh.

Karl <kop@meme.com>
Free Software:  "You don't pay back, you pay forward."
                -- Robert A. Heinlein