less
Open a file for interactive reading, allowing scrolling and search.
less {source_file}
(down), b (up)
- Go to end / start of file:
G (end), g (start)
- Forward search for a string (press `n`/`N` to go to next/previous match):
/{something}
- Backward search for a string (press `n`/`N` to go to next/previous match):
?{something}
- Follow the output of the currently opened file:
F
- Open the current file in an editor:
v
q
Copyright © 2014—present the tldr-pages team and contributors.
This work is licensed under the Creative Commons Attribution 4.0 International License (CC-BY).