cron job verification

Kevin D. Clark clark_k at pannaway.com
Wed Feb 2 18:54:01 EST 2005


Ed Robitaille writes:

> If I'm not mistaken, If #!/bin/sh is used the shell will use what is
> set for the user variable $SHELL when a user logs in. I use zsh and
> have SHELl set for /bin/zsh.  

If what you say is true, why when you run a /bin/sh script doesn't
exec run your shell scripts through /bin/zsh?  After all, you set
SHELL to /bin/zsh.

I think that the resulting havoc would be kindof amusing.


Suggestion:  the bash man page has a lot of good material on this
topic.


> The predominant scripting $SHELL seems to be bash.

I disagree.  The Bourne Shell would be my answer.

Regards,

--kevin
-- 
GnuPG ID: B280F24E                     And the madness of the crowd
alumni.unh.edu!kdc                     Is an epileptic fit
                                       -- Tom Waits



More information about the gnhlug-discuss mailing list