RHEL 6 installation question (ksh vs bash)

I usually install RHEL 5.6, and normally get a ksh.

I installed RHEL 6 with default options, and I get the following:

[root@ex5b work]# pwd
[root@ex5b work]#
[root@ex5b work]#
[root@ex5b work]# cat go
ls -la
[root@ex5b work]# ./go
-bash: ./go: /bin/ksh: bad interpreter: No such file or directory
[root@ex5b work]#

Open in new window

How can a get a ksh.

DO I need to do a Yum update,

Do I need to set something ?

Los Angeles1Asked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

It seems ksh is not installed by default for RHEL 6

Use yum to install it.
yum install ksh

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Hanno P.S.IT Consultant and Infrastructure ArchitectCommented:
Try running /bin/ksh to see if it's there at all.
Also: ls -l /bin/ksh  to verify if it's permissions have been removed (should be readable and executable)

You could either install ksh (as mentioned by wesley_chen or use bash instead
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Unix OS

From novice to tech pro — start learning today.