AWK tricks - clearing the screen and scrollback buffer.
You can put this in your logout profile to fill up the screen buffer (clear just won't do on some systems with a multiple page console scroll-back buffer).
Filling the screen buffer with new lines:
awk -F 'BEGIN{ for (i = 1; i <= 3000; i++) printf "\n"; exit}'
had to change -F to -F:
ReplyDeleteThis works great for clearing out gnu screen scrollback buffer.
Thanks for the tip!