Skip to main content

I had the same problem and adding an alias in .bashrc.bashrc helped:

alias clear='printf "\E[H\E[2J"'

alias clear='printf "\E[H\E[2J"' 

Reminder: The changes in .bashrc.bashrc take effect after you open new terminal!

Hope it works for you.

I had the same problem and adding an alias in .bashrc helped:

alias clear='printf "\E[H\E[2J"'

Reminder: The changes in .bashrc take effect after you open new terminal!

Hope it works for you.

I had the same problem and adding an alias in .bashrc helped:

alias clear='printf "\E[H\E[2J"' 

Reminder: The changes in .bashrc take effect after you open new terminal!

Source Link

I had the same problem and adding an alias in .bashrc helped:

alias clear='printf "\E[H\E[2J"'

Reminder: The changes in .bashrc take effect after you open new terminal!

Hope it works for you.