banner



How To Clear Terminal Window

When you are working in the last, often y'all'll find that your terminal screen is filled up with too many commands and their outputs.

You may want to articulate the last to declutter the screen and focus on the next chore you are going to perform. Immigration the Linux terminal screen helps a lot, trust me.

Clear Linux terminal with articulate command

And so, how do y'all clear terminal in Linux? The simplest and the nigh common way is to use the articulate command:

                clear              

You need no option with the clear control. Information technology's that simple just there are some additional things you need to know about information technology.

Clear terminal screen in Linux

The clear command and other methods of clearing screen may depend on the terminal emulator y'all are using. Terminal emulator is the terminal application that you apply for accessing the Linux vanquish (control line).

If you use clear command on Ubuntu with GNOME Terminal, it will clear the screen and yous won't be able to see what else yous had on the screen previously.

In many other terminal emulators or Putty, it may just articulate the screen for 1 page. If you lot ringlet with mouse or PageUp and PageDown keys, you can still access the sometime screen outputs.

Bluntly, it depends on your need. If y'all all of a sudden realize that you need to refer to the output of a previously run command, perchance having that option bachelor will exist helpful.

Other ways to clear final screen in Linux

Clear Terminal Screen Linux

Clear command is non the only way to articulate the terminal screen.

You tin use Ctrl+L keyboard shortcut in Linux to clear the screen. It works in most terminal emulators.

                Ctrl+L              

If y'all apply Ctrl+L and clear command in GNOME final (default in Ubuntu), you'll notice the difference between their impact. Ctrl+L moves the screen one folio down giving the illusion of a make clean screen just you can nonetheless admission the command output history by scrolling upwards.

Some other final emulators accept this keyboard shortcut gear up at Ctrl+Shift+K.

Yous can likewise use reset command for clearing the terminal screen. Really, this command performs a complete terminal re-initialization. It could accept a bit longer than clear command, though.

                reset              

There are a couple of other complicated means to clear the screen when you want to clear the screen completely. Only since the control is a bit complicated, it's meliorate to employ it as alias in Linux:

                allonym cls='printf "\033c"'              

You can add this alias to your bash contour so that it is available every bit command.

I know this was a pretty basic topic and nigh Linux users probably already knew it simply information technology doesn't harm in roofing the simple topics for the new Linux users. Isn't it?

Got some secretive tip on immigration last screen? Why not share it with us?


How To Clear Terminal Window,

Source: https://itsfoss.com/clear-terminal-ubuntu/#:~:text=You%20can%20use%20Ctrl%2BL,works%20in%20most%20terminal%20emulators.

Posted by: geiersquou2000.blogspot.com

0 Response to "How To Clear Terminal Window"

Post a Comment

Iklan Atas Artikel

Iklan Tengah Artikel 1

Iklan Tengah Artikel 2

Iklan Bawah Artikel