Try ./scriptname if your script is not in a directory in the PATH
enviroment varible (the current directory (.) is not in the path on most
new linux distros due to security concerns).  I have a directory called
scripts in my path (echo "export PATH=$PATH:~/scripts" >> .profile, or
just edit .profile and add it) that I use to test scripts before putting
them into /usr/local/bin or /usr/bin.

On 07 Jun 2001 07:36:26 -0700, Eric Wright wrote:
> Ok, 
> 
> I installed Perl, when I search for perl I get /usr/bin/perl, but when I
> include #!/usr/bin/perl in my source I still cant exicute it without;
> 
> perl myProg
> 
> and I have also chmod 751 myProg I am using Linux (RH7.1) what
> am I missing?
> 
> Thanks 
> 
> Eric
> 
> 
> Damn it Scotty I need more power......
>       - Kirk
--
Today is Pungenday, the 12nd day of Confusion in the YOLD 3167
Wibble.


Reply via email to