When we use
clear command or Ctrl+L in terminal, it clears terminal but we can still scroll back to view the last used commands. Is there a way to completely clear the terminal?
You can use
This sends control characters
Google Keywords: Linux Console Control Sequences
I know you're on a gnome terminal, but I thought I'd answer with a tip for others who might be (like me) on a Mac:
If you're using
Or, if you're able to set keyboard preferences for your terminal you may be able to assign something like