3 ms·
This might already exist, but while tailing logs today I wished for a tool that would let me view a log file as its changing - like "tail -f" so new lines appea
by zaptheimpaler 12y ago
This might already exist, but while tailing logs today I wished for a tool that would let me view a log file as its changing - like "tail -f" so new lines appear at the bottom, but with the added ability to scroll up, jump to any line, search etc like a text editor.
- bracewel 12y agoHm, this is a interesting idea, I'm not sure I know of a tool for doing this (beyond using tail -f .. | grep .. as a primitive search)
- skuhn 12y agoless can do this: less +F /var/log/blah.log then ctrl-c to switch into regular less mode (for scrolling back or searching), and 'F' to go back into follow mode to watch changes roll in. You don't have to start less in follow mode either, 'F' will work regardless.