However I found out that most terminal emus on Linux also have this feature as Ctrl-L.
In gnome-terminal you have to press Ctrl-K to clear the screen, and then Ctrl-L to redraw the prompt.
The bash manual documents Ctrl-L as "Clear the screen leaving the current line at the top of the screen."
However I found out that most terminal emus on Linux also have this feature as Ctrl-L.
In gnome-terminal you have to press Ctrl-K to clear the screen, and then Ctrl-L to redraw the prompt.
The bash manual documents Ctrl-L as "Clear the screen leaving the current line at the top of the screen."