Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 28 Aug 2000 10:11:10 -0400 (EDT)
From:      John <papalia@UDel.Edu>
To:        Claude Cormier <techsupport@devises-or.com>
Cc:        dima@unixfreak.org, freebsd-questions@FreeBSD.ORG, igorr@crosswinds.net
Subject:   Re: Newbie need help to execute a shell script
Message-ID:  <Pine.SOL.4.05.10008281010280.8802-100000@copland.udel.edu>
In-Reply-To: <39AA719A.1F3B9E97@devises-or.com>

next in thread | previous in thread | raw e-mail | index | archive | help
> 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 <name>` 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.SOL.4.05.10008281010280.8802-100000>