What does less do?
less opens a file in a scrollable viewer so you can read big files page by page and search inside them with /word.
less file
Most useful options
| Option | What it does |
|---|---|
| /word | search forward |
| n | next match |
| G / g | jump to end / start |
| q | quit |
less examples
In security work
Analysts read huge logs in less without loading everything in an editor.
Questions about less
How do I exit less?
Press q.