cron job verification
Ed Robitaille
erobitaille at eagle1st.com
Wed Feb 2 18:20:01 EST 2005
On Wed, 2 Feb 2005 10:45:31 -0500
Bob Bell <bbell at macroped.com> wrote:
> On Wed, Jan 12, 2005 at 12:15:46AM -0500, Derek Martin wrote:
> > #!/bin/sh
> > # NEVER start shell scripts as #!/bin/bash -- it can lead to strange
> > # and unintended results.
>
> Like what? I've never had a problem. If I specifically am using bash
> features, I always say "/bin/bash", as "/bin/sh" could mean Bourne shell
> or POSIX shell.
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.
The predominant scripting $SHELL seems to be bash.
Ed
> gnhlug-discuss mailing list
> gnhlug-discuss at mail.gnhlug.org
> http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss
>
More information about the gnhlug-discuss
mailing list