私は、 +を使用してログ ファイルの一番下に移動し、テキスト ファイルでクエリを実行するless
方法がわかっているファイルで使用できるログ ファイルを持っています。shiftG?
ログ ファイルの一番下まで移動して最初のエラーを見つけたり、?
次のエラーにたどり着くために何を検索したらよいかわかりません。ログ ファイル内の各エラーを下から上にどんどん移動したいと思っています。
答え1
答えはマニュアルにあります。man less
:
n Repeat previous search, for N-th line containing the last
pattern. If the previous search was modified by ^N, the
search is made for the N-th line NOT containing the
pattern. If the previous search was modified by ^E, the
search continues in the next (or previous) file if not
satisfied in the current file. If the previous search was
modified by ^R, the search is done without using regular
expressions. There is no effect if the previous search
was modified by ^F or ^K.
N Repeat previous search, but in the reverse direction.