From owner-freebsd-questions Tue Dec 8 05:56:20 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id FAA27557 for freebsd-questions-outgoing; Tue, 8 Dec 1998 05:56:20 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from post.mail.demon.net (post-11.mail.demon.net [194.217.242.40]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id FAA27551 for ; Tue, 8 Dec 1998 05:56:17 -0800 (PST) (envelope-from marko@uk.radan.com) Received: from [158.152.75.22] (helo=uk.radan.com) by post.mail.demon.net with smtp (Exim 2.054 #1) id 0znNcK-0005MS-00; Tue, 8 Dec 1998 13:55:57 +0000 Organisation: Radan Computational Ltd., Bath, UK. Phone: +44-1225-320320 Fax: +44-1225-320311 Received: from beavis.uk.radan.com (beavis [193.114.228.122]) by uk.radan.com (8.6.10/8.6.10) with SMTP id NAA00506; Tue, 8 Dec 1998 13:55:23 GMT Received: from uk.radan.com (gppsun4) by beavis.uk.radan.com (4.1/SMI-4.1) id AA10849; Tue, 8 Dec 98 13:55:22 GMT Message-Id: <366D2F92.E3D234E9@uk.radan.com> Date: Tue, 08 Dec 1998 13:54:26 +0000 From: Mark Ovens Organization: Radan Computational Ltd X-Mailer: Mozilla 4.03 [en] (X11; I; SunOS 4.1.3_U1 sun4m) Mime-Version: 1.0 To: Guy Penfold Cc: freebsd-questions@FreeBSD.ORG Subject: Re: perl &daily,weekly References: <366E50D5.5D1C@projectx.com.au> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Guy Penfold wrote: > > hello, > > I am new to unix and having some trouble with getting the daily,weekly > and monthly programs to execute. Eg if i type daily and then return i > get > command not found. The same problem also occurs when i write a file to > be interpreted PERL eg somefile ( do chmod +x somefile to make it > executable) and then press return. From this i get command notfound. > What am i doing wrong, some assitance would be appreciated. > The file is not in a directory in your path. Unlike DOS, Unix does not look in the current directory first unless you explicitly include ``.'' as the first component in the path. You can have ``.'' anywhere in your path but it is not recommended. Try ./somefile. If "somefile" is in your path (type ``echo $PATH'' to find out) you could try ``rehash'' after making "somefile" executable. > Also if you install the PERL5 package will it write over the existing > PERL4.036 or create a new directory giving you a system with two > versions of PERL.I am running Freebsd2.2.6. > It shouldn't overwrite the current version. HTH > regards > > Guy > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message -- Trust the computer industry to shorten Year 2000 to Y2K. It was this thinking that caused the problem in the first place. Mark Ovens, CNC Applications Engineer, Radan Computational Ltd. Bath, Avon, England. Sheet Metal CAD/CAM Solutions mailto:marko@uk.radan.com http://www.radan.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message