Re: logout script

2004-11-24 Thread Sam Watkins
On Wed, Nov 24, 2004 at 04:57:15AM -0700, Thomas Beresford wrote: > Is there a way to create a script to run some commands whenever I logout the > machine? Is so,how? Do you mean to run some commands during shutdown? You can put a numbered script in /etc/rc0.d (or symlink to one) and it will get

Re: logout script

2004-11-24 Thread LeVA
2004. november 24. 12:57, Thomas Beresford <[EMAIL PROTECTED]> -> [EMAIL PROTECTED],: > Is there a way to create a script to run some commands whenever I > logout the machine? Is so,how? > > Thomas Beresford Hi Thomas! Touch a '.bash_logout' file inside your homedir, and bash will execute it, w

logout script

2004-11-24 Thread Thomas Beresford
Is there a way to create a script to run some commands whenever I logout the machine? Is so,how? Thomas Beresford -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Re: Logout script

2002-06-30 Thread Carlos Sousa
On Sun, 30 Jun 2002 21:36:12 -0400 "Kapil Khosla" <[EMAIL PROTECTED]> wrote: > Hi, > In my current setting if I press ctrl-alt-del, my system shuts down. I > saw something in /etc/inittab like > > # What to do when CTRL-ALT-DEL is pressed. > ca:12345:ctrlaltdel:/sbin/shutdown -t1 -a -r now I hav

Re: Logout script

2002-06-30 Thread Eric G. Miller
On Sun, Jun 30, 2002 at 09:36:12PM -0400, Kapil Khosla wrote: > Hi, > In my current setting if I press ctrl-alt-del, my system shuts down. I saw > something in /etc/inittab like > > # What to do when CTRL-ALT-DEL is pressed. > ca:12345:ctrlaltdel:/sbin/shutdown -t1 -a -r now > > I want to logout

Re: Logout script

2002-06-30 Thread Tom Cook
On 0, Kapil Khosla <[EMAIL PROTECTED]> wrote: > Hi, > In my current setting if I press ctrl-alt-del, my system shuts down. I saw > something in /etc/inittab like > > # What to do when CTRL-ALT-DEL is pressed. > ca:12345:ctrlaltdel:/sbin/shutdown -t1 -a -r now > > I want to logout and restart my

Logout script

2002-06-30 Thread Kapil Khosla
Hi, In my current setting if I press ctrl-alt-del, my system shuts down. I saw something in /etc/inittab like # What to do when CTRL-ALT-DEL is pressed. ca:12345:ctrlaltdel:/sbin/shutdown -t1 -a -r now I want to logout and restart my KDM and window manager by pressing CTRL-ALT-DEL, Can anyone