Online Linux Terminal Logo
OnlineLinuxTerminal
Система и процессыCLI Manual

$clear

Clear the terminal screen display and scrollback buffer.

Синтаксис командыPOSIX Standard
clear
Сообщество Linux2.4k Онлайн

Общайтесь с пользователями Linux, учите команды и скачивайте шпаргалки.

Попробуйте в интерактивной песочнице

Клиентская симуляция без установки с мгновенным результатом.

Открыть в полноэкранном терминале ↗
bash — terminal

Обзор и принцип работы

`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 / OptionDescription
-xDo not clear the scrollback buffer; only scroll current screen view.

Практические примеры использования

#1Clear terminal screen

Wipes the screen buffer and resets prompt to top.