FG
💻 Software

How do I clear my bash screen while maintaining scrollback?

Fresh6 days ago
Mar 15, 202651844 views
Confidence Score0%
0%

Problem

The command can make the next command easier to read (if it outputs less than a page there's no scrolling hence no searching for the beginning). However it also clears the scrollback buffer which you may not always want.

Error Output

clear

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: How do I clear my bash screen while maintaining scrollback?

Low Risk

Just press Ctrl-L on the keyboard.

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment