From owner-freebsd-questions Mon Aug 28 7: 9: 9 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 390DF37B43C for ; Mon, 28 Aug 2000 07:09:03 -0700 (PDT) Received: from devises-or.com (Dialup-1144.HIP.CAM.ORG [205.205.139.195]) by cogito.cam.org (8.11.0/8.11.0.Beta1) with ESMTP id e7SE8ws24195; Mon, 28 Aug 2000 10:08:59 -0400 Message-ID: <39AA719A.1F3B9E97@devises-or.com> Date: Mon, 28 Aug 2000 10:05:14 -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: dima@unixfreak.org Cc: freebsd-questions@FreeBSD.ORG, igorr@crosswinds.net Subject: Re: Newbie need help to execute a shell script References: <20000828134505.EBA6F1F17@static.unixfreak.org> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Well...thanks again for your help... %display still produces "command not found" but %sh display works fine.. And when I issue %which sh I get: /bin/sh Any idea why I can't run "display" directly? Dima Dorfman wrote: > Also, try running this script and see if it yields the same results: > > #!/bin/sh > echo "This is a test." > exit 0 > > If the above script doesn't work, then there might be something wrong > with your system. > > Some other things you may want to check: > * Try to run the script like, `sh ` to make sure it works. Igor Roboul wrote: > > On Mon, Aug 28, 2000 at 09:20:34AM -0400, Claude Cormier wrote: > > : not found > > Date and time is: > > [END]: not found > do at command prompt "which sh" To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message