Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 27 May 1997 17:09:50 -0400
From:      "Donald J. Maddox" <root@cola112.scsn.net>
To:        Dmitri Baranov <dima@stv.ee>
Cc:        "freebsd-questions@FreeBSD.ORG" <freebsd-questions@FreeBSD.ORG>
Subject:   Re: Perl script
Message-ID:  <19970527170950.09321@cola112.scsn.net>
In-Reply-To: <338AF41E.E944C3F8@stv.ee>; from Dmitri Baranov on Tue, May 27, 1997 at 05:47:58PM %2B0300
References:  <338AF41E.E944C3F8@stv.ee>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, May 27, 1997 at 05:47:58PM +0300, Dmitri Baranov wrote:
[-- Warning: koi8-r is not compatible with your display.]

> Hello.
> I have a problem I can't resolve.
> 
> I have a file (counter.cgi) in /usr/home/dima/cgi-bin directory.
> The execution right is applied.
> The first line of file is "#!/usr/bin/perl"
> BUT !
> when I am typing  ">counter.cgi" I got a
> command not found.
> It works only in ">perl counter.cgi" variant.
> How can I start only "counter.cgi" ?

Probably, the current dir is not in your path, so type instead:
> ./counter.cgi
  ^^
  
-- 


                                            Donald J. Maddox
                                            (dmaddox@scsn.net)




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19970527170950.09321>