FG
💻 Software

How can I clear the scrollback buffer in konsole from bash?

Fresh5 days ago
Mar 15, 20267494 views
Confidence Score0%
0%

Problem

I'm a heavy bash user and konsole is my preferred environment. I know I can use the keyboard command ctrl+shift+x to clear the scrollback buffer, but there's certain points in my scripts where I would like that to occur. How can I clear konsole's scrollback buffer using the command line, bash, or a…

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: How can I clear the scrollback buffer in konsole from bash?

Low Risk

This will do it: Found here. Works in regular xterm too.

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment