From owner-freebsd-questions Thu May 29 17:35:58 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id RAA18325 for questions-outgoing; Thu, 29 May 1997 17:35:58 -0700 (PDT) Received: from sparrow.sanasys.com (root@[206.101.242.50]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id RAA18320 for ; Thu, 29 May 1997 17:35:43 -0700 (PDT) Received: from nschuler ([206.101.242.163]) by sparrow.sanasys.com (8.8.5/8.8.5) with SMTP id TAA14540; Thu, 29 May 1997 19:24:07 -0500 (CDT) Message-Id: <2.2.32.19970530003602.006d8b60@sparrow.sanasys.com> X-Sender: nschuler@sparrow.sanasys.com X-Mailer: Windows Eudora Pro Version 2.2 (32) Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Date: Thu, 29 May 1997 19:36:02 -0500 To: Dmitri Baranov From: Nathan Schuler Subject: Re: Perl script Cc: freebsd-questions@FreeBSD.ORG Sender: owner-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk >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" ? The path /usr/bin/perl is not correct. Try "which perl" to get the correct path. Also your shell could require that you use "./counter.cgi" Nathan Schuler UNIX Netwoking Solutions / Systems Administrator Sana Systems Inc. Clinton, IA 52732 (319) 242-5770