How to really clear the terminal?

I can release the clear command or press Ctrl+L to clear the existing Ubuntu terminal, yet this simply changes previous result upwards and also if you make use of computer mouse scroll or PgUP and also PgDown keys it is tough to identify where the result of previous command ends and also result of existing command starts.

Exists a means to actually clear the incurable so I will not see previous command outcomes?

495
2022-06-05 14:37:21
Source Share
Answers: 4

You can additionally assign a faster way in gnome - incurable by mosting likely to Edit → Keyboard Shortcuts . I useShift+Ctrl+Alt+C.

52
2022-06-05 15:27:11
Source

Well it actually depends, if you are making use of Konsole as an example also reset does not stop you to scroll past the first line. Because instance you need to make use of some attribute of the certain incurable you are making use of. For Konsole, it is Edit > Clear History.

5
2022-06-05 14:57:32
Source

run this command:

reset

This has the very same result as releasing a new terminal.

19
2022-06-05 14:49:08
Source

Yes, the command you are seeking is

reset

In comparison to clear, or Ctrl+L, reset will in fact entirely re - initialise the terminal, as opposed to simply getting rid of the screen. Nonetheless, it will not re - instantiate the covering (celebration). That suggests that celebration is state coincides as in the past, as though you were just getting rid of the screen.

As @Ponkadoodle states in the remarks, this command needs to do the same thing more quickly:

tput reset

From the various other solutions:

  • You can set a Keyboard Shortcut to reset the incurable, as explained by .

  • If you are running Kubuntu , and also your terminal is Konsole, you require to head to Edit → Clear background , given that reset does not function similarly there, as UncleZeiv notes.

557
2022-06-05 14:46:35
Source