In this article we will provide your code for clearing Ubuntu terminal or WSL windows command line without clearing history. Use clear
command with -x
attribute.
Note: Remember to use lowercase x
.
Code Example –
[email protected]: clear -x

In this article we will provide your code for clearing Ubuntu terminal or WSL windows command line without clearing history. Use clear
command with -x
attribute.
Note: Remember to use lowercase x
.
Code Example –
[email protected]: clear -x