3 ms·
This is why I prefer less to tail. You can do 'F' to have a constantly updated log, and 'Ctrl-C' to stop updating it when you see something odd and the go back
by haddr 10y ago
This is why I prefer less to tail. You can do 'F' to have a constantly updated log, and 'Ctrl-C' to stop updating it when you see something odd and the go back to the live update with 'F' again. All without exiting less.
- Waterluvian 10y agoI didn't know that. Incredibly useful, thanks!
- timdorr 10y agoFor bonus points, you can put in a search ('/' + your search phrase), start tailing with 'F' (by the way, that's a capital F, so shift + F key), and have it highlight matching strings as stuff streams in. Makes it easy to spot things if the log is fast-moving.