2 ms·
With less, you can do: less myfile.log &ERROR # filter out any line that doesn't match the regexp ERROR F # capital f enters follow mode Now you're tailing a
by justinlilly 16y ago
With less, you can do:
less myfile.log
&ERROR # filter out any line that doesn't match the regexp ERROR
F # capital f enters follow mode
Now you're tailing a log with a custom grep, which is retroactive on history as well.