cd $HOME

Clean a terminal

To clean a terminal (full of garbage like after having cated a binary file), use
reset
I would suggest to add
alias cls='reset'
in your .bashrc to avoid auto-completing on reboot...
Back

Comments

Julien ÉLIE (http://www.trigofacile.com/) on July 23, 2008 22:24 (120 days ago) wrote

Thanks for that command! It is indeed very useful.

It is the kind of commands I like. By the way, the Debian Administration website <http://www.debian-administration.org/articles/603> has just begun a series entitled "Commands you might have missed". It is also very interesting!

I also like the "cls" DOS-like alias :)

Have a nice day P@M.



The content of this field is kept private and will not be shown publicly.