Linux – clear command in Konsole

consolekonsolelinuxterminal

I know about the Linux clear command, but it just moves the previous output from the visible part of terminal window (KDE Konsole). I can still scroll up and see all previous text. Is there similar command that can erase entire content of a terminal window? (Something like clc in matlab.)

Best Answer

I'm sure you could make a command with dbus. But there is a shortcut for clear scrollback and reset by default. Ctrl + shift + x.

Related Question