> -----Original Message----- > From: Dave Roberts [SMTP:ldave@xxxxxxxxxxxx] > Sent: Friday, December 12, 2003 11:54 PM > To: fedora-list@xxxxxxxxxx > Subject: Re: how to execute a program/script automatically after a successful login > > > Is there a way to run a similar script when I do a logout? It seems odd > that you can start something but not necessarily shut it down cleanly. > > -- > Dave Roberts <ldave@xxxxxxxxxxxx> > Funny you should ask: When bash exits, it looks for the script ~/.bash_logout, and runs it if it exists.