> [marshallj@datasrv bin]$ ./test.sh
> bash: ./test.sh: Permission denied
> [marshallj@datasrv bin]$ sh test.sh
> test
> 
> It almost seems as if my shell isn't using the first line to determine
> what to use to execute the file. Now this is weird! Any thoughts?

What happens when you do this?

   $ su - marshall
   Password:
   $ ./test.sh

???

Pete


--
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://slug.org.au/lists/listinfo/slug

Reply via email to