Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I want to have the best of both worlds with tail and less. Following multiple files, like tail can, but also having the scrollable buffer of less.

So, I tried:

tail -f mylog1 mylog2 | less +F

But this only gives me a blank screen until I interrupt. Doing "shift-F" again doesn't help.

How do I do this? It seems to me that following stdin shouldn't be that hard for less?

share|improve this question

Two options:

  • MultiTail MultiTail lets you view one or multiple files like the original tail program. The difference is that it creates multiple windows on your console (with ncurses).
  • Use screen to create multiple windows; then run tail (or even better, less -F) in each of them
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.