Logging out…

I do not know what you think about that, but I hate it if confidental information stays on screen after logging out of a terminal.

The solution is simple: echo clear >> ~/.bash_logout

The solution explained: On logging out bash parses the .bash_logout script. We just tell bash here to have the screen cleared.

Author:

2 thoughts on “Logging out…”

Leave a Reply

Your email address will not be published. Required fields are marked *