Date: Thu, 29 May 1997 19:36:02 -0500 From: Nathan Schuler <nschuler@sparrow.sanasys.com> To: Dmitri Baranov <dima@stv.ee> Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Perl script Message-ID: <2.2.32.19970530003602.006d8b60@sparrow.sanasys.com>
next in thread | raw e-mail | index | archive | help
>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 <nschuler@sanasys.com> UNIX Netwoking Solutions / Systems Administrator Sana Systems Inc. Clinton, IA 52732 (319) 242-5770
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?2.2.32.19970530003602.006d8b60>