From owner-freebsd-questions Tue May 27 14:11:12 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id OAA03988 for questions-outgoing; Tue, 27 May 1997 14:11:12 -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 OAA03980 for ; Tue, 27 May 1997 14:10:56 -0700 (PDT) Received: from mail.scsn.net (scsn.net [206.25.246.12]) by agora.rdrop.com (8.8.5/8.8.5) with ESMTP id OAA17968 for ; Tue, 27 May 1997 14:10:48 -0700 (PDT) Received: from cola112.scsn.net ([206.25.247.112]) by mail.scsn.net (Post.Office MTA v3.0 release 0121 ID# 0-32322U5000L100S10000) with ESMTP id AAA208; Tue, 27 May 1997 17:02:33 -0400 Received: (from root@localhost) by cola112.scsn.net (8.8.5/8.8.5) id RAA00937; Tue, 27 May 1997 17:09:51 -0400 (EDT) Message-ID: <19970527170950.09321@cola112.scsn.net> Date: Tue, 27 May 1997 17:09:50 -0400 From: "Donald J. Maddox" To: Dmitri Baranov Cc: "freebsd-questions@FreeBSD.ORG" Subject: Re: Perl script Reply-To: dmaddox@scsn.net References: <338AF41E.E944C3F8@stv.ee> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.74 In-Reply-To: <338AF41E.E944C3F8@stv.ee>; from Dmitri Baranov on Tue, May 27, 1997 at 05:47:58PM +0300 Sender: owner-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk 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)