From owner-freebsd-questions Tue May 27 21:11:13 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id VAA21312 for questions-outgoing; Tue, 27 May 1997 21:11:13 -0700 (PDT) Received: from agora.rdrop.com (root@agora.rdrop.com [199.2.210.241]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id VAA21271 for ; Tue, 27 May 1997 21:10:52 -0700 (PDT) Received: from tulpi.interconnect.com.au (root@tulpi.interconnect.com.au [192.189.54.18]) by agora.rdrop.com (8.8.5/8.8.5) with ESMTP id VAA20354 for ; Tue, 27 May 1997 21:10:44 -0700 (PDT) Received: (from ahill@localhost) by tulpi.interconnect.com.au id OAA04711 (8.8.5/IDA-1.6); Wed, 28 May 1997 14:09:28 +1000 (EST) Date: Wed, 28 May 1997 14:09:27 +1000 (EST) From: Anthony Hill To: Dmitri Baranov cc: "freebsd-questions@FreeBSD.ORG" Subject: Re: Perl script In-Reply-To: <19970527170950.09321@cola112.scsn.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk MMMmm - are you sure the perl executable is at usr/bin/perl ? On Tue, 27 May 1997, Donald J. Maddox wrote: > 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) > >