7.2.3.6. .bash_logout example
Upon logout, the commands in ~/.bash_logout are executed, which can for instance
clear the terminal, so that you have a clean window upon logging
out of a remote session, or upon leaving the system console:
debby:~> cat .bash_logout
# ~/.bash_logout
clear
|
Let's take a closer look at how these scripts work in the next
section. Keep info bash close at hand.