What Is the Clear Screen Command in Linux?
Contents

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

What is clear screen command?

CLS (Clear Screen)

Erases all characters and graphics from the screen; however, it does not change the currently-set screen attributes. Example. Enter. cls. to clear the screen of everything but the command prompt and the cursor.

What does the clear command do in Linux?

clear is a standard Unix computer operating system command that is used to clear the terminal screen. This command first looks for a terminal type in the environment and after that, it figures out the terminfo database for how to clear the screen.

Sophia Al-Mansoor

Sophia Al-Mansoor

Global Business & E-Commerce Reporter

Sophia analyzes international trade, startup ecosystems, retail transformation, and supply chain logistics for modern digital publications.

Share this article
Twitter Facebook Pinterest