run a script at logout ?

Tez binary_y2k2 at blueyonder.co.uk
Thu May 11 03:36:21 UTC 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

John L Fjellstad wrote:

>
> According the man bash(1):
>
> /bin/bash The bash executable /etc/profile The systemwide
> initialization file, executed for login shells /etc/bash.bashrc The
> systemwide per-interactive-shell startup file /etc/bash.logout The
> systemwide login shell cleanup file, executed when a login shell
> exits ~/.bash_profile The personal initialization file, executed
> for login shells ~/.bashrc The individual per-interactive-shell
> startup file ~/.bash_logout The individual login shell cleanup
> file, executed when a login shell exits ~/.inputrc Individual
> readline initialization file
>
> So, I guess /etc/bash.logout or ~/.bash_logout
>
Thanks, that worked.
I guess i didn't pay enough attention to the man page,
I'll just have to look harder next time :D

Terence Simpson
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFEYrE1gnNG6YggFBURAruuAKCNMkC900GklL0eIOeevE9m+lndqQCeN/jP
9G6cZ01LQzUV8ZHnpYyYx88=
=V5+a
-----END PGP SIGNATURE-----






More information about the kubuntu-users mailing list