[sf-lug] Fwd: [UMALUG] bash scripting question

Asheesh Laroia asheesh at asheesh.org
Mon Mar 3 09:51:01 PST 2008

On Mon, 3 Mar 2008, Tyler Trafford wrote:

> I appears that my original message got snipped when it was forwarded on,
> here is the output of running the orginal script with sudo:
> $ sudo ./mytest.sh

sudo ./thing may be running it via sh, whereas ./thing may run it with 

What if you change the top "#!/bin/sh" line to "#!/bin/bash"?

-- Asheesh.

 	"But Huey, you PROMISED!"
 	"Tell 'em I lied."

More information about the sf-lug mailing list