"Miguel Cruz" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> On Thu, 28 Mar 2002, Miguel Cruz wrote:
> > Right. I think the "No such file or directory" message is because it's
> > failing to find an interpreter called "/bin/bash\r".
>
> Sorry, I mean "/bin/sh\r
On Thu, 28 Mar 2002, Miguel Cruz wrote:
> Right. I think the "No such file or directory" message is because it's
> failing to find an interpreter called "/bin/bash\r".
Sorry, I mean "/bin/sh\r". Habit.
miguel
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www
On Thursday 28 March 2002 15:03, Dalton Hunter wrote:
> them in Textpad afterward. For example the script contains ...
>
>
> // BEGIN PHP SCRIPT THAT GENERATES SHELL SCRIPT
>
> $sbackup = "#!/bin/sh
Do you actually terminate each line of your shell script with \n?
ie shouldn't that be:
$sback
On Wed, 27 Mar 2002, Dalton Hunter wrote:
> "Miguel Cruz" <[EMAIL PROTECTED]> wrote:
>> Make sure you use unix-style line endings (just \n and no \r).
>
> Hi, thanks for your reply. I should have been a little clearer. The file is
> created as a result of a PHP script not in TextPad. I am only co
"Miguel Cruz" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> On Wed, 27 Mar 2002, Dalton Hunter wrote:
> > Hi, I am trying to write a file that contains a shell script. The file
> > writes to the server but when I try to execute it it fails with a
> > command n
On Wed, 27 Mar 2002, Dalton Hunter wrote:
> Hi, I am trying to write a file that contains a shell script. The file
> writes to the server but when I try to execute it it fails with a
> command not found error. But if I copy and paste the files contents into
> a new text file using Textpad on my PC
Hi, I am trying to write a file that contains a shell script. The file
writes to the server but when I try to execute it it fails with a command
not found error. But if I copy and paste the files contents into a new text
file using Textpad on my PC and upload it to the same directory it works?!
It
7 matches
Mail list logo