On Tue, 23 Jan 2001 23:49:05 -0500
Jon Doe <[EMAIL PROTECTED]> wrote:

> How do I run a shell script at startup or at shutdown with LM7.2? I know 7.1 
> had an autostart folder on the desktop, how was that done? Actaully I am more 
> interested in running a shell script at shutdown, or logout.
> 

Assuming your shell is bash, you can put logout commands in ~/.bash_logout. If you 
don't have a 
~/.bash_logout file you can make one.

' ~ ' means your home directory, i.e. /home/<user, you>/

if you use some other shell than bash I don't know what the equivalent file would be.

If you don't know what shell you use type " echo $SHELL " at a prompt (without the 
quotes.) 

hope that helps,

--
Keith

Reply via email to