[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Newbie Shell Script Problems



> On Mon, Jan 29, 2001 at 08:03:01AM -0800, thus 
> spake Tom Schuetz:
> > Could someone please give me a hint re. how to get 
> > a functional shell script?
> > 
> > I've done the #! /bin/bash, and I've chmod'd to +x, 
> > and the CHMOD shows up correctly as executable 
> > in ls -l, but still will not "go".
> > 
> > What should I check?

> When you run your script, do you need to preface the 
> command with  ./
> 
> eg  ./myscript
> 
> took me ages to find out that one!

Or, put the script in a directory that's in your $PATH.

Hall



Reply to: