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

Re: Newbie Shell Script Problems



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?

Thanks,

Tom Schuetz
_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com


My first guess is that you're trying to run the script from the directory it is in. If this is the case, you need to add a ./ in front of it, like so:

./myScript

This is a security feature of Debian.

If that's not the problem, post a short example of a script you're trying to run.

Kent



Reply to: