[vox-tech] .bash_logout execution

Ryan Castellucci vox-tech@lists.lugod.org
Wed, 22 Oct 2003 22:34:15 -0700


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

On Wednesday 22 October 2003 03:00 pm, niloufar wrote:
> Hi all,
>
> I have a question regarding .bash_logout. I am using
> redhat 7.3, and I would like to run a script to clean
> up some processes when I'm logging out. I tried to
> call my script from .bash_logout, but I realized that
> .bash_logout does not get executed at logout. Does
> anyone know how i can execute .bash_logout or any
> other script at logout?
> Thank you,
> niloufar

Does in have the executable bit set? (do ls -l .bash_logout, do you see a=
n x=20
on the left?) If not, do `chmod +x .bash_logout`

- --=20
PGP/GPG Fingerprint: 3B30 C6BE B1C6 9526 7A90  34E7 11DF 44F3 7217 7BC7
On pgp.mit.edu, import with `gpg --keyserver pgp.mit.edu --recv-key 72177=
BC7`
Also available at http://www.cal.net/~ryan/ryan_at_mother_dot_com.asc
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)

iD8DBQE/l2hfEd9E83IXe8cRAuvaAJ0fd106/lO3pdgQqSLd2vol1v356gCfdG5H
rf9vuGrGXyUOfuYDaRaQqek=3D
=3DB+4x
-----END PGP SIGNATURE-----