Online Linux Terminal Logo
OnlineLinuxTerminal
Système et processusCLI Manual

$clear

Clear the terminal screen display and scrollback buffer.

Syntaxe de la commandePOSIX Standard
clear
Communauté Linux2.4k En ligne

Échangez avec des utilisateurs Linux, apprenez des commandes et téléchargez des PDF.

Essayer en direct dans le bac à sable interactif

Simulation côté client sans installation avec retour instantané.

Ouvrir dans le terminal plein écran ↗
bash — terminal

Aperçu et fonctionnement

`clear` clears your terminal canvas, giving you a clean working space with the prompt placed at the top of the window. You can also trigger this anytime with the `Ctrl + L` keyboard shortcut.

Options et drapeaux courants

Flag / OptionDescription
-xDo not clear the scrollback buffer; only scroll current screen view.

Exemples pratiques du monde réel

#1Clear terminal screen

Wipes the screen buffer and resets prompt to top.