0

According to this link, you could do the following keystroke sequence to clear the log:

1) ctrl-Z (to suspend) 2) cl (clear the screen) 3) fg (to resume)

Is there a way to do that without having to suspend? I tried ctrl-L while tailing but I get ^L printed on the screen instead.

Any advice appreciated!

Community
  • 1
  • 1
chadwtaylor
  • 221
  • 2
  • 10

1 Answers1

0

Not sure it'll help you now but it may help others.

This blog post indicates how to do it on OSX.

https://coderwall.com/p/rkstvg

I can't verify this as I don't use OSX but this solution does not work on Linux (at least not for me).

I've added my own answer to the link you suggested which creates a key binding for the commands making it a little easier.

Community
  • 1
  • 1
PhilT
  • 4,166
  • 1
  • 36
  • 26