From owner-freebsd-questions Sun Aug 27 22:45:55 2000 Delivered-To: freebsd-questions@freebsd.org Received: from cogito.cam.org (Cogito.CAM.ORG [198.168.100.2]) by hub.freebsd.org (Postfix) with ESMTP id CFDC637B424 for ; Sun, 27 Aug 2000 22:45:44 -0700 (PDT) Received: from devises-or.com (USRH-5-138.HIP.CAM.ORG [204.19.188.138]) by cogito.cam.org (8.11.0/8.11.0.Beta1) with ESMTP id e7S5jfs27428 for ; Mon, 28 Aug 2000 01:45:42 -0400 Message-ID: <39A9FBA2.6CE94BED@devises-or.com> Date: Mon, 28 Aug 2000 01:41:54 -0400 From: Claude Cormier Organization: Ormetal Inc. X-Mailer: Mozilla 4.7 [en] (Win95; I) X-Accept-Language: en,fr MIME-Version: 1.0 To: freebsd-questions@FreeBSD.ORG Subject: Newbie need help to execute a shell script Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi!, I signed up with a hosting service whihc has FreeBSD 2.2.8 with a lot of goodies like PHP, MysQL and others. I am trying to execute a small shell script and always received the "command not found" error. This is the "display" shell script: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ # This script displays the date, time, username and # current directory. echo "Date and time is:" date echo echo "Your username is: `whoami` \\n" echo "Your current directory is: \\c" pwd ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ I am trying this from a tcsh shell. When I start a Bourne shell and type the same "display" command, I get "no such file or directory". The "display" script is in my path and it has "rwx" permissions. I even try ./display while sitting in the directory where the script is, but to know avail. Any suggestions... this is probably very basic... but remember I am a newbie with Unix. Claude Cormier To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message