Forward Search
- ./ – search for a pattern which
will take you to the next occurrence.
- n – for next match in forward
- N – for previous match in
backward
Backward Search
- ? – search for a pattern which
will take you to the previous occurrence.
- n – for next match in backward
direction
- N – for previous match in
forward direction
- CTRL+F – forward one window
- CTRL+B – backward one window
- CTRL+D – forward half window
- CTRL+U – backward half window
- j
– navigate forward by one line
- k
– navigate backward by one line
- q
or ZZ – exit the less pager
- 10j – 10 lines forward.
- 10k – 10 lines backward.
- tail -f =>F
less application.* | grep 'search_key'
No comments:
Post a Comment