lessコマンドで指定行、指定位置に移動する方法
lessコマンドで指定行に移動するには行数を入力した後でgキーを押します。例えば、300gと押すと300行目に移動できます。
また、指定位置(全体に占める割合)に移動するには数値を入力した後でpキーを押します。例えば、30pと押すと全体の30パーセントの位置に移動できます。
マニュアルの説明
g < ESC-< * Go to first line in file (or line N). G > ESC-> * Go to last line in file (or line N). p % * Go to beginning of file (or N percent into file).