Macos – Equivalent of ‘clear’ command when using tail -f

macostailterminal.app

I am using the tail -f command to follow an error log, and I often want to "clear" the terminal, much in the same way that the clear unix command moves everything above the top of the window. Is there something like this when using tail?

At the moment I just hit return a bunch of times which works okay, but gets rather annoying, especially when I have a tall window.

I am on mac os 10.6.8.

Best Answer

View > Clear Scrollback or press +K

Related Question