Bo Najdrovsky
From: Unknown
Registered: 2003-04-10
Posts: 5
|
> Date: Mon, 07 Jul 2003 16:38:53 -0700 > From: Ken Maconald <kenmacseumas@sympatico.ca> >Subject: Re: Re: getting Pagestream running > >OK, I did that >(just for the heck of it) >nothing changed, as I had been running pagestream.sh from within the >directory also >that is, using bash I would cd to the Pagestream41 directory, and type >pagestream >or pagestream.sh >the answer is always that "command not found" >sounds like it is not reading the pagestream.sh file >ken >
Keep in mind that everything is the Unix world is case sensitive, including shell commands. If your script is called PageStream.sh you can't launch it by typing pagestream.sh. Also, in some situations, the user doesn't have the current dirrectory in his PATH, so in order to run a script from the current dirrectory, you have to either explicitly type:
./scriptname
or add current directory to your path, as in:
export PATH=$PATH:.
The root user for instance is one that doesn't have current directory automatically in his path. This is done for very obvious security reasons, but you shouldn't be running applications as root anyway - very bad practice. BTW, the script that I gave you in my previous email works just fine here on my system.
regards, Bo
|