on 07/19/2001 11:53 AM, [EMAIL PROTECTED] at [EMAIL PROTECTED] wrote:

> Unix gurus -
> 
> groping around the UNIX side of OSX - (painless migration it aint)
> I believed that typing
> chmod ug+x  /users/ some file.pl
> would make the script runable by typing it's name on the command
> line, but it don't work. Am I missing something vital?

Is the directory that it's in, in your PATH ? :)

at least, for any shell accounts I ever had, I always created my own ~/bin/
directory to store any perl stuff I wanted to just "type" and have run...
and then added that to the PATH environment variable.

if you want to run it in the current directory that is *not* in the path,
use the construct: 
    %> ./some_file.pl
to execute it. 

-- 
Scott R. Godin            | e-mail : [EMAIL PROTECTED]
Laughing Dragon Services  |    web : http://www.webdragon.net/


Reply via email to