How do I clear my bash screen while maintaining scrollback?
Just press Ctrl-L on the keyboard.
the clear
command does not clear scrollback for me. so clear
or ^L works.
Use tput reset
Thanks to this answer: What commands can I use to reset and clear my terminal?