[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: install the Korn SHELL program



On Wed, 1 Oct 2008 10:26:35 +0900
______ <choingjoo hufs ac kr> wrote:

> Dear.
> 
> I installed the ksh program using yum.
> 
> >yum install ksh
> 
> Then executed the program as I made for test, but error echoed,
> 
> >./filter
> 
> Bash : ./filter:/bin/ksh^M: bad interpreter: No such file or directory
> 
>  
> 
> What is the problem?
> 
> Thank you
> 
>  
> 
> Yongjoo CHOI
> 

Hi Yonjoo, 

Try running the script file through 'dos2unix' first. That Control-M
(^M") at the end of the line that the error message quoted shouldn't 
be there, but it is used as part of the line-end sequence on
DOS and MS Windows. Good luck!

-David Chipman


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]