From owner-freebsd-questions Mon Aug 28 7:11:21 2000 Delivered-To: freebsd-questions@freebsd.org Received: from copland.udel.edu (copland.udel.edu [128.175.13.92]) by hub.freebsd.org (Postfix) with ESMTP id D414337B424 for ; Mon, 28 Aug 2000 07:11:14 -0700 (PDT) Received: from copland.udel.edu (copland.udel.edu [128.175.13.92]) by copland.udel.edu (8.9.3/8.9.3) with ESMTP id KAA10810; Mon, 28 Aug 2000 10:11:10 -0400 (EDT) Date: Mon, 28 Aug 2000 10:11:10 -0400 (EDT) From: John To: Claude Cormier Cc: dima@unixfreak.org, freebsd-questions@FreeBSD.ORG, igorr@crosswinds.net Subject: Re: Newbie need help to execute a shell script In-Reply-To: <39AA719A.1F3B9E97@devises-or.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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? Have you made sure that you made the file executeable to yourself? chmod ug+x display --john > 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 > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message