Did you check your file line ending type?

open the file in vi
check for your file format type,
is CRLF, or LF, or just CR

shell needs only a properly formated file with LF

If it is just with CRLF then script is not likely to
work. 

So find the file format type and change the file to
'unix' type from 'dos',

I guess it should fix your problem.


--- Arvind <[EMAIL PROTECTED]> wrote:
> boy!!! thelong shot carried it seems....but will it
> solve my problem?
> 
> ls -l /bin/sh
> lrwxrwxrwx    1 root     root            4 May 15
> 18:55 /bin/sh -> bash
> 
> ls -l /bin/bash
> -rwxr-xr-x    1 root     root       541096 Apr 12
> 21:39 /bin/bash
> 
> Arvind
> ----- Original Message ----- 
> From: "mukund" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Tuesday, May 21, 2002 3:03 PM
> Subject: Re: [LIH]how to start apache
> 
> 
> | A looooong shot..
> | Is your /bin/sh linked to /bin/bash
> | Regards,
> | Mukund Deshmukh
> | Beta Computronics Pvt. Ltd.
> | Web site - http://betacomp.com
> 
> 
>
_______________________________________________________________
> 
> Don't miss the 2002 Sprint PCS Application
> Developer's Conference
> August 25-28 in Las Vegas --
> http://devcon.sprintpcs.com/adp/index.cfm
> 
> _______________________________________________
> linux-india-help mailing list
> [EMAIL PROTECTED]
>
https://lists.sourceforge.net/lists/listinfo/linux-india-help


__________________________________________________
Do You Yahoo!?
LAUNCH - Your Yahoo! Music Experience
http://launch.yahoo.com

_______________________________________________________________

Don't miss the 2002 Sprint PCS Application Developer's Conference
August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm

_______________________________________________
linux-india-help mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/linux-india-help

Reply via email to