1. 18
  1.  

  2. 5

    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.

    1. 1

      Exactly. Almost always, I pipe tail -f to grep either to monitor error, exception, expected request hits.

    2. 2

      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 -f for logfiles.

      1. 2

        Does less support tail -F-style of rotating/reopening/waiting for new files to exist?

        1. 2

          For emacs users, auto-revert-tail-mode is very handy for many of the same use cases.

          1. 0

            isn’t this what tmux is for?