The problem with less is you can’t pipe it to anything. Sure, it’s got the ability to tail a file and also to filter that file (common things you need when you’re tailing a file) but beyond that you better hope any utility you need is implemented in less.
The problem with less is you can’t pipe it to anything. Sure, it’s got the ability to tail a file and also to filter that file (common things you need when you’re tailing a file) but beyond that you better hope any utility you need is implemented in less.
Exactly. Almost always, I pipe
tail -ftogrepeither to monitor error, exception, expected request hits.I never seem to remember that less can keep reading files, it’s good to be reminded of the feature. Definitely more useful than
tail -ffor logfiles.Does less support
tail -F-style of rotating/reopening/waiting for new files to exist?For emacs users, auto-revert-tail-mode is very handy for many of the same use cases.
isn’t this what tmux is for?