2
3

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

less メモ

Posted at

less コマンド

$ less [オプション] ファイル名

オプション

行数表示: N
パターン検索: p パターン
改行なし: S

キーバインド

1ページ進む: Space
1ページ戻る: b
半ページ進む: d
ページの先頭に移動: g
ページの最後に移動: G
パターン前方検索: /パターン
パターン後方検索: ?パターン
前方検索繰り返し: n
後方検索繰り返し: N
エディタ起動: v
終了: q

tail -f で改行なし的な

$ less -S+F access_log

通常のlessに戻す: Ctrl+C
tail -f に切り替え: Shift+F

2
3
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
3

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?