Online Linux Terminal Logo
OnlineLinuxTerminal
System & ProzesseCLI Manual

$clear

Clear the terminal screen display and scrollback buffer.

BefehlssyntaxPOSIX Standard
clear
Linux-Community2.4k Online

Tausche dich mit Linux-Nutzern aus, lerne Befehle und lade PDF-Cheatsheets herunter.

Live im interaktiven Terminal ausprobieren

Client-seitige Simulation ohne Installation mit sofortigem Feedback.

Im Vollbild-Terminal öffnen ↗
bash — terminal

Überblick & Funktionsweise

`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.

Wichtige Optionen und Flags

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

Praktische Anwendungsbeispiele

#1Clear terminal screen

Wipes the screen buffer and resets prompt to top.