Does this mean ksh is installed

Does this mean ksh is installed

$ rpm -qa | grep ksh
ksh-20100202-1.el5_5.1

Open in new window


(I know this seems a bit of an odd question, but I have to ask for verification purposes
Los Angeles1Asked:
Who is Participating?
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.

Jerry MillerCommented:
I think so, but you can check all available shell commands on your system with the
$ cat /etc/shells command. See the number 4 example on this page.


http://www.thegeekstuff.com/2009/10/change-login-shell-from-bash-to-sh-csh-ksh-tcsh/
0
woolmilkporcCommented:
Yes, ksh is installed.

Verify this by checking the contents of the package:

rpm -ql ksh-20100202-1.el5_5.1

Among all the displayed files you should see "/bin/ksh" (and/or maybe "/usr/bin/ksh") - This is the ksh binary.

You can also just start /bin/ksh, then press <Ctrl><V>. The ksh version string should appear.

0

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
cbarr101Commented:
rpm and Ctrl-V are good answers.

"which ksh" or "whence ksh" will show which "ksh" is found in $PATH
"ls -ld /bin/ksh" may reveal that  bash or pdksh, etc, is linked to appear as /bin/ksh

Versions:  2 possible ksh versions:  88, 93
1988  is the widely-used version on AIX, Sun Solaris, HP-UX.
Ksh 93 is sometimes found on Linux installs and on SCO Unix.
A short list of ksh88 syntax doesn't work the same way when run by ksh93.
0
cbarr101Commented:
$ rpm -qa | grep ksh
ksh-20100202-1.el5_5.1

This is indeed official, genuin "ksh 1993", David Korn's much-improved version of "ksh 1988",

Unfortunately ksh88 is far more popular in enterprise Unix, and a very small percentage of
ksh88 syntax works differently in ksh93.
Just beware of using scripts written to run on ksh88.
0
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
Linux

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.