Re: shell files won't run

2000-02-12 Thread Todd A. Jacobs
On Fri, 11 Feb 2000, kevin williams wrote: > then when I execute it with a ./example.sh > I get a permission denied > do I need to set a permission? Scripts need to be executable unless you are sourcing them. -- Todd A. Jacobs Network Systems Engineer -- To unsubscribe: mail [EMAIL PROTECT

Re: shell files won't run

2000-02-12 Thread Kevin Williams
thanks for the help chmod did the trick thanks kevin -Original Message- From: David Powers <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] <[EMAIL PROTECTED]> Date: Friday, February 11, 2000 10:12 PM Subject: Re: shell files won't run >Sounds like the file is not exec

Re: shell files won't run

2000-02-11 Thread David Powers
Sounds like the file is not executable, what does ls -l example.sh show you? kevin williams wrote: > > redhat 6.0 > > I create a shell file - say - example.sh > > then when I execute it with a ./example.sh > > I get a permission denied > > do I need to set a permission? > > thanks > kevin >

Re: shell files won't run

2000-02-11 Thread Duncan Hill
On Fri, 11 Feb 2000, kevin williams wrote: > > then when I execute it with a ./example.sh > > I get a permission denied You haven't told the OS that it can be executed (Assuming you did put the #!/bin/bash or whatever line). chmod +x in the very least. -- Duncan Hill Sa

shell files won't run

2000-02-11 Thread kevin williams
redhat 6.0 I create a shell file - say - example.sh then when I execute it with a ./example.sh I get a permission denied do I need to set a permission? thanks kevin -- To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject.