General discussion

Locked

Korn shell with Linux?

By nean_72 ·
Are there any versions of Linux that support the Korn shell and the vi editor?

This conversation is currently closed to new comments.

6 total posts (Page 1 of 1)  
| Thread display: Collapse - | Expand +

All Comments

Collapse -

Yes

by jmgarvin In reply to Korn shell with Linux?

http://linux.ittoolbox.com/nav/t.asp?t=431&p=431&h1=431

Why would you use korn when you have bash?

vi is in the typical linux install.

Collapse -

Thank you

by nean_72 In reply to Yes

I use korn with the vi editor at work and I want to simulate the enviroment at work as closely as possible. I would like to try and test out scripts at home and hopefully:) become more productive at work. Thanks for your reply to my other question as well.

Collapse -

ksh -o vi

by X-MarCap In reply to Thank you

That'll make you happiest with the ksh execution...

Tim

Collapse -

basically all Linux distros

by apotheon In reply to Korn shell with Linux?

You'd be hard-pressed to find a Linux distro that does NOT include vi in even a minimal install, let alone a default install. Pretty much every Linux distro makes the Korn shell available, though it's not installed by default on most of them: just use the package management system of your chosen distribution to install it. For instance, with Debian you'd type the following at the command line (assuming you have apt set up to properly use either the Internet or a CD for software installs):

# apt-get install ksh

Don't do an apt-get install korn, though, as that actually installs a mailreader rather than the korn shell.

Collapse -

basically all Linux distros

by hollyridge In reply to basically all Linux distr ...

# apt-get install pdksh

"pdksh" stands for "Public Domain Korn Shell". Same shell just tightened down the name for those who can't find "ksh" in their repository.

Collapse -

Korn shells

by apotheon In reply to basically all Linux distr ...

There are several Korn shells available. In the Debian repositories, ksh is the standard Korn shell, pdksh is the public domain spinoff, and mksh is an "enhanced" version of the Korn shell (whatever that means).

Either ksh or pdksh should work for someone wanting reasonably vanilla Korn shell capability.

Back to Linux Forum
6 total posts (Page 1 of 1)  

Related Discussions

Related Forums