On Mon, Jan 29, 2001 at 08:03:01AM -0800, Tom Schuetz wrote: > 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? >
Is the script in your PATH? In the directory the file resides in use a "./" before the file. For example if I have a shell script in /home/kent/script while in /home/kent I would - $ ./script to get it to work. Once I'm satisfied with the script I'll put it in /usr/local/bin (which is in my user path) or /usr/local/sbin (which is in my root path). hth, kent -- I'd really love ta wana help ya Flanders but... Homer Simpson