File: skel.bash_logout

package info (click to toggle)
bash 3.2-4
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 3,120 kB
  • ctags: 163
  • sloc: sh: 9,389; ansic: 854; makefile: 529
file content (7 lines) | stat: -rw-r--r-- 220 bytes parent folder | download | duplicates (13)
1
2
3
4
5
6
7
# ~/.bash_logout: executed by bash(1) when login shell exits.

# when leaving the console clear the screen to increase privacy

if [ "$SHLVL" = 1 ]; then
    [ -x /usr/bin/clear_console ] && /usr/bin/clear_console -q
fi