How to delete a Terminal on Ubuntu and other Linux distributions

How to delete a Terminal on Ubuntu and other Linux distributions

Clean up the mess and start fresh at the Terminal!

Often the terminal on Linux is filled with output from previous commands. That makes the terminal display chaotic and disorganized, especially when the previous output is no longer needed by the user. Therefore, it is good practice to clear the terminal screen after being filled.

There are several ways to delete terminals on Ubuntu and Linux distributions. Let’s explore one by one.

Ctrl + L Key Combination

The easiest and simplest way to clear the terminal screen is to press the Ctrl + L key combination.

Note that this is the default combination. Linux allows users to assign scripts / programs to key combinations. Therefore, the above combination must not be used as a special combination for anything else, in order to work in the terminal.

Clear command

The Clear command also cleans the terminal in the same manner as described above. The user must run the delete command to clear the screen.


Note that in the two methods above, the output displayed previously on the screen can still be seen by scrolling the terminal up.


Reset Orders

The reset command is used to initialize the terminal again. Then, it will also wipe the screen.



The difference in this method is, because of re-initialization, it is now a new terminal. Therefore, users cannot scroll up to see the longer output in this case.

Ctrl + Shift + K Combination in the Console

If you use the KDE desktop environment, the default terminal program is Konsole. Users can also install and use Konsole in another desktop environment.

Along with the method described above, there is a Ctrl + Shift + K key combination that can be used to clear the screen in the Konsole. This default combination is basically a shortcut for the reset command.

Add a Shortcut to the reset command in the Ubuntu terminal

Similar to the default Console key combination for the reset command, you can add a key combination to reset in the Gnome terminal on Ubuntu.

Open Terminal ┬╗Preferences.


Open the ‘Shortcut’ tab, scroll down until you see the ‘Reset’ option.


Double click on Reset. This will ask you to press the key combination. Verify that the combination you pressed is set to Reset.


We have explained several ways to erase and reset the terminal screen in this article. Hope you find them useful.

Related posts

How to Install PostgreSQL and phpPgAdmin on Ubuntu 20.04 LTS


How to use Node Selectors in Kubernetes


How to Launch a Terminal Window on Ubuntu Linux


How to Install Webmin on Ubuntu 20.04


How to Install and Use FFmpeg on Ubuntu 20.04


How to Install OpenCV on Ubuntu 20.04


How to Install Flatpaks on Ubuntu 20.04


What is Fedora Linux?


How to Install Node.js and npm on Ubuntu 20.04