Система и процессыCLI Manual
$clear
Clear the terminal screen display and scrollback buffer.
Синтаксис командыPOSIX Standard
clearПопробуйте в интерактивной песочнице
Клиентская симуляция без установки с мгновенным результатом.
bash — terminal
AST Sandbox (Free)
Обзор и принцип работы
`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.
Основные флаги и параметры команды
| Flag / Option | Description |
|---|---|
| -x | Do not clear the scrollback buffer; only scroll current screen view. |
Практические примеры использования
#1Clear terminal screen
Wipes the screen buffer and resets prompt to top.
Похожие команды Linux
$psСистема и процессы
Отображение моментального снимка активных процессов операционной системы.
$topСистема и процессы
Display real-time Linux processes and system resource utilization.
$htopСистема и процессы
Interactive process viewer with colorful CPU meters and mouse support.
$killСистема и процессы
Send termination or control signals to processes by PID.
$whoamiСистема и процессы
Print the effective username associated with the current shell session.
$dateСистема и процессы
Display or set system date and time.