Système et processusCLI Manual
$clear
Clear the terminal screen display and scrollback buffer.
Syntaxe de la commandePOSIX Standard
clearEssayer en direct dans le bac à sable interactif
Simulation côté client sans installation avec retour instantané.
bash — terminal
AST Sandbox (Free)
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 / Option | Description |
|---|---|
| -x | Do 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.
Commandes Linux associées
$psSystème et processus
Afficher un instantané des processus en cours d'exécution dans le système.
$topSystème et processus
Display real-time Linux processes and system resource utilization.
$htopSystème et processus
Interactive process viewer with colorful CPU meters and mouse support.
$killSystème et processus
Send termination or control signals to processes by PID.
$whoamiSystème et processus
Print the effective username associated with the current shell session.
$dateSystème et processus
Display or set system date and time.