#!/bin/bash # # SCRIPT NAME: # .bash_logout # # AUTHOR: # Severin Kaderli # # DESCRIPTION: # This script is executed when the login shell exits. # # USAGE: # This script is automatically executed when the login shell exits. # Clear console output if [ "${SHLVL}" = 1 ]; then [ -x /usr/bin/clear_console ] && /usr/bin/clear_console -q fi