Re: bash_logout

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



> Hi, I was searching for the system wide bash_logout and couldn't find any
> documentation on it.

There is no system wide bash_logout, according to the bash man page,  
CentOS 4.7.

Instead look at the way a system wide bashrc is included in ~/.bashrc:
   [ -f /etc/bashrc ] && . /etc/bashrc
You could do the same in ~/.bash_logout:
   [ -f /etc/bash_logout ] && . /etc/bashrc

If you want to include that line for every new user's ~/.bash_logout, add  
it to the file /etc/skel/.bash_logout, then create the user(s).

Chris
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux