1826408 Members
4046 Online
109692 Solutions
New Discussion

Re: ksh on linux

 
Hunki
Super Advisor

ksh on linux

Is there a way to have ksh on linux and if yes then how.

Thanks

Hunki
7 REPLIES 7
Ivan Ferreira
Honored Contributor

Re: ksh on linux

Yes, just install the package. What distro are you using? If some Red Hat/Fedora or clone, install using the rpm command:

rpm -ivh .rpm

Download it from:

http://rpm.pbone.net/index.php3/stat/4/idpl/1211244/com/pdksh-5.2.14-24.i386.rpm.html
Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?

Re: ksh on linux

goto rpmfind.net and search ksh rpm for your linux kernel and install it using
rpm -ivh
dirk dierickx
Honored Contributor

Re: ksh on linux

it's included with each distro these days, but not installed by default.

in some cases you even get the choice between the 'real' or the 'open' ksh.
Alan_152
Honored Contributor

Re: ksh on linux

Assuming your distro is capable of handling rpms, here's a list:
http://www.rpmfind.net/linux/rpm2html/search.php?query=ksh
Florian Heigl (new acc)
Honored Contributor

Re: ksh on linux

pdksh is a very weak replacement, if You want a replacement, use zsh.

If You do want ksh, do use ksh.

it's available from AT&T at http://www.kornshell.com/

Read the license agreement, it mostly states they won't be held liable for anything resulting to Your usage of ksh, and then enter the password from the license text and download it.
yesterday I stood at the edge. Today I'm one step ahead.
Rajesh SB
Esteemed Contributor

Re: ksh on linux

Hi,

Public Domain Korn Shell pdksh is available for Linux. Normally supplied with all distribution.

Regards,
Rajesh
Senthil Prabu.S_1
Trusted Contributor

Re: ksh on linux

hi,
Rajesh was right. You will have pdksh on all distros.


Check with rpm as;
#rpm -qa | grep -i ksh

It should show you;
pdksh-5.2.14-780.1

HTH,
Prabu.S
One man's "magic" is another man's engineering. "Supernatural" is a null word.