how to execute a program/script automatically after a successful login
Nix, Robert P.
Nix.Robert at mayo.edu
Mon Dec 15 14:44:05 UTC 2003
> -----Original Message-----
> From: Dave Roberts [SMTP:ldave at droberts.com]
> Sent: Friday, December 12, 2003 11:54 PM
> To: fedora-list at redhat.com
> 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 at droberts.com>
>
Funny you should ask:
When bash exits, it looks for the script ~/.bash_logout, and runs it if it exists.
More information about the fedora-list
mailing list