>[marshallj@datasrv bin]$ cat test.sh >#!/bin/sh >echo test >[marshallj@datasrv bin]$ ls -l test.sh >-rwxr-x--- 1 marshall marshall 20 Sep 27 03:21 test.sh >[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? Do a strace ./test.sh -- SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/ More Info: http://slug.org.au/lists/listinfo/slug
- [SLUG] Execute a file Marshall, Joshua
- RE: [SLUG] Execute a file George Vieira
- Re: [SLUG] Execute a file Ken Yap
- Re: [SLUG] Execute a file Marshall, Joshua
- Re: [SLUG] Execute a file Ken Yap
- Re: [SLUG] Execute a file Colin Humphreys
- Re: [SLUG] Execute a file Marshall, Joshua
- Re: [SLUG] Execute a file Peter Rundle
- Re: [SLUG] Execute a file Matthew Dalton
- Re: [SLUG] Execute a file Marshall, Joshua
- Re: [SLUG] Execute a file Ken Yap
- Re: [SLUG] Execute a file Marshall, Joshua
- RE: [SLUG] Execute a file Stephen Mills
- Re: [SLUG] Execute a file Ken Yap
- RE: [SLUG] Execute a file Jill Rowling
