install the Korn SHELL program

최용주 choingjoo at hufs.ac.kr
Wed Oct 1 05:11:39 UTC 2008


I installed the 'ksh', so when I type the command in my terminal. It echoes the '$'.



-----Original Message-----
From: fedora-list-bounces at redhat.com [mailto:fedora-list-bounces at redhat.com] On Behalf Of Richard England
Sent: Wednesday, October 01, 2008 1:47 PM
To: Community assistance, encouragement, and advice for using Fedora.
Subject: Re: install the Korn SHELL program

최용주 wrote:
> Dear.
> Actually I executed the same file on my former linux computer without any error message.
> But I reinstalled the linux, then it occurred the error.
> I attached the 'filter' and please check up.
>
> Thank you
>
> Best regards,
>
> Yongjoo CHOI
>
> -----Original Message-----
> From: fedora-list-bounces at redhat.com [mailto:fedora-list-bounces at redhat.com] On Behalf Of Ed Greshko
> Sent: Wednesday, October 01, 2008 10:56 AM
> To: Community assistance, encouragement, and advice for using Fedora.
> Subject: Re: install the Korn SHELL program
>
> Ed Greshko wrote:
>   
>>>> ./filter
>>>>       
>>>>         
>>> Bash : ./filter:/bin/ksh^M: bad interpreter: No such file or directory
>>>
>>>  
>>>
>>> What is the problem?
>>>
>>>     
>>>       
>> How did your create the script "filter"?  Did you create it on a windows
>> machine?  The "^M" at the end of the line seems suspicious.
>>
>>   
>>     
> Forgot to mention you should try...
>
> dos2unix filter
>
> and they try to execute filter again.
>
>   

Have you verified that the Korn shell (/bin/ksh) really exists on your 
machine (was installed properly) and that it is in a location included 
in your PATH variable?

What happens if you enter the command 

$ /bin/ksh


In my case, I don't have ksh installed and I get:

$ /bin/ksh
bash: /bin/ksh: No such file or directory

-- 
fedora-list mailing list
fedora-list at redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines





More information about the fedora-list mailing list