Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 28 Aug 2000 14:56:43 -0400
From:      Claude Cormier <techsupport@devises-or.com>
To:        igorr@crosswinds.net
Cc:        freebsd-questions@FreeBSD.ORG, "Andresen,Jason R." <jandrese@mitre.org>
Subject:   Re: Newbie need help to execute a shell script
Message-ID:  <39AAB5EB.AD0F8F1D@devises-or.com>
References:  <20000828134505.EBA6F1F17@static.unixfreak.org> <39AA719A.1F3B9E97@devises-or.com> <20000828182757.A21602@linux.rainbow> <39AA7B69.D231BA3C@devises-or.com> <20000828190308.A21842@linux.rainbow> <39AA96D1.2C478561@devises-or.com> <20000828205830.A22674@linux.rainbow>

next in thread | previous in thread | raw e-mail | index | archive | help
> Try to create this file on Unix side.
> cat >disp2
> _enter_your_script_
> _press_Ctrl+D
> chmod 755 disp2
> ./disp2

Bingo...!  Now both "disp2" and "./disp2" works. THanks...

So that is good for my small script, but what if my shell script does:

#!/bin/sh
php /cgi-bin/test.php

This gives me an error as well since php cannot find test.php. So I
guess I must also create test.php on the unix side?  I am accessing
through telnet... so what are the alternatives: ed?

Or is there a utility I can use ? 


Claude.


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?39AAB5EB.AD0F8F1D>