Re: PHP Scripting - Hope you get all this

2003-07-10 Thread Gordon Messmer
Brian Ashe wrote: Im getting an error when running a script : bad interpreter: No such file or directory If you ever see that in the shell, it means that the script you're running has DOS linefeeds in it. Use either "dos2unix" or "tr -d '\n' < oldfile > newfile" to remove them. Try it with a "t

RE: PHP Scripting - Hope you get all this

2003-07-10 Thread Chris W. Parker
Leonard den Ottolander wrote: > How clean is a war when you shoot around nukelar waste? > Stop the use of depleted uranium ammo! > End all weapons of mass destruction. Not sure if you're doing this on purpose but I just couldn't let it go, ;) nukelar is spelled nuclear

Re: PHP Scripting - Hope you get all this

2003-07-10 Thread Leonard den Ottolander
Hi Logan, > Ive seen your "prompts" for want of a better word, with a $ > Mine have a # (this is bash ...no?) Will the $ let me run things...?? Prompt is the right word. # is the root prompt. $ is the prompt for normal users. Please log in as a normal user if you are not doing a task that needs

Re: PHP Scripting - Hope you get all this

2003-07-10 Thread Bill Tangren
Logan Linux wrote: Really sorry to bug again, Im sure you all remember the first week... Just to clarify, Im over the php scripting problem but I still need to preface all scripts with a sh to run them. Ive seen your "prompts" for want of a better word, with a $ Mine have a # (this is bash ...no

Re: PHP Scripting - Hope you get all this

2003-07-10 Thread Bill Anderson
On Wed, 2003-07-09 at 17:42, Logan Linux wrote: > Sorry, > > None of these worked. Still get the same error. Do the \n's show up in VI? No, but in current versions of Vim, you'd see at the bottom of the window: [dos]. (there is a way to make Vi/Vim show them, but I don't recall at the time.) --

Re: PHP Scripting - Hope you get all this

2003-07-09 Thread Logan Linux
the $ let me run things...?? Sorry if I sound like a child!!! TIA From: Brian Ashe <[EMAIL PROTECTED]> Reply-To: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Re: PHP Scripting - Hope you get all this Date: Wed, 9 Jul 2003 20:04:46 -0400 Logan Linux, On Wednesday July 09, 2003 07:42, L

Re: PHP Scripting - Hope you get all this

2003-07-09 Thread Brian Ashe
Logan Linux, On Wednesday July 09, 2003 07:42, Logan Linux wrote: > Sorry, > > None of these worked. Still get the same error. Do the \n's show up in VI? > > >> Im getting an error when running a script > > >> > > >> : bad interpreter: No such file or directory > > > > > > If you ever see that in

Re: PHP Scripting - Hope you get all this

2003-07-09 Thread Logan Linux
OTECTED] To: "Red Hat Users List " <[EMAIL PROTECTED]> Subject: Re: PHP Scripting - Hope you get all this Date: Wed, 9 Jul 2003 15:56:57 +1000 (EST) >> Im getting an error when running a script >> : bad interpreter: No such file or directory > > If you ever

Re: PHP Scripting - Hope you get all this

2003-07-08 Thread Peter Kiem
>> Im getting an error when running a script >> : bad interpreter: No such file or directory > > If you ever see that in the shell, it means that the script you're > running has DOS linefeeds in it. Use either "dos2unix" or > "tr -d '\n' < oldfile > newfile" to remove them. or change it using vi

Re: PHP Scripting - Hope you get all this

2003-07-08 Thread Gordon Messmer
Logan Linux wrote: Im getting an error when running a script : bad interpreter: No such file or directory If you ever see that in the shell, it means that the script you're running has DOS linefeeds in it. Use either "dos2unix" or "tr -d '\n' < oldfile > newfile" to remove them. -- redhat-list

PHP Scripting - Hope you get all this

2003-07-08 Thread Logan Linux
Im getting an error when running a script : bad interpreter: No such file or directory That's when I use the command im supposed to. I tried using sh and the script... [EMAIL PROTECTED] nessus-php]# sh nsr : command not found : command not found 'sr: line 30: syntax error near unexpected token `do