Thursday, May 3, 2007

How to Stop ssh from Clearing Console on Exit?

It was not obvious but there is an explicit clear command in the logout script that clears the content of the terminal. This is what my .bash_logout file looks like:
# ~/.bash_logout

/usr/bin/clear
Commenting the line, /usr/bin/clear, will do the trick.