next up previous contents
Next: .bash_history: Content of History Up: Special Files Previous: .cshrc   Contents

.bash_logout and .logout: Leaving linux/UNIX

When logging out of a linux system running the BASH shell, file .bash_logout is executed. This file is usually very short, and contains commands users want to execute upon leaving the account. The most popular is the clear command, which clears the screen.

Other shells typically use .logout instead of .bash_logout.

Claude Cantin 2010-10-24