# ~/.bash_logout: executed by bash when login shell exits. # Clear the console after the last bash instance exits. if [ ${SHLVL} -eq 1 ]; then [ -x /usr/bin/clear_console ] && /usr/bin/clear_console -q fi