example .bash_logout

Nabbed from here:
http://www.cyberciti.biz/faq/linux-unix-run-commands-when-you-log-out/