[ale] first time shell script

Jonathan Glass jonathan.glass at ibb.gatech.edu
Tue May 6 16:16:09 EDT 2003


This is normal if the bash script is not in a directory listed in your
$PATH variable.  The normal workaround is to type "./scriptname" from
the current directory, or type in the full path
"/home/jglass/scriptname" to the script.

HTH

Jonathan Glass

On Tue, 2003-05-06 at 16:12, dino wrote:
> I have been doing some reading about shell scripts and have some 
> questions.  I am using the BASH shell on Mac's OSX.
> 
> Most sample scripts say to change the file to an executable via "chmod 
> u+x scriptname"
> After doing this i should be able to simply type in "scriptname" and it 
> should run.
> 
> I cant seem to get this to work, I must enter it like this
> "bash scriptname"
> 
> is this normal or am I not doing something correct?
> 
> _______________________________________________
> Ale mailing list
> Ale at ale.org
> http://www.ale.org/mailman/listinfo/ale
-- 
Jonathan Glass <jonathan.glass at ibb.gatech.edu>

_______________________________________________
Ale mailing list
Ale at ale.org
http://www.ale.org/mailman/listinfo/ale





More information about the Ale mailing list