From owner-freebsd-questions Tue May 27 21:28:29 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id VAA21976 for questions-outgoing; Tue, 27 May 1997 21:28:29 -0700 (PDT) Received: from iceberg.anchorage.net. (root@iceberg.anchorage.net [207.14.72.150]) by hub.freebsd.org (8.8.5/8.8.5) with SMTP id VAA21971 for ; Tue, 27 May 1997 21:28:26 -0700 (PDT) Received: from aak.anchorage.net (ai-129 [207.14.72.129]) by iceberg.anchorage.net. (8.6.11/8.7.3) with SMTP id TAA13759; Tue, 27 May 1997 19:24:34 -0800 Date: Tue, 27 May 1997 20:06:39 -0800 (AKDT) From: Steve Howe X-Sender: abc@aak.anchorage.net To: Dmitri Baranov cc: "freebsd-questions@FreeBSD.ORG" Subject: Re: Perl script In-Reply-To: <338AF41E.E944C3F8@stv.ee> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk On Tue, 27 May 1997, Dmitri Baranov wrote: > > 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" > 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" ? how about "./counter.cgi" ... ------------------------------------------------------------------------- Sleep: a sign a caffeine deprivation ... http://www.anchorage.net/~un_x -------------------------------------------------------------------------