Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

Installing the Korn shell UNIX
If you're like me, you are lost without the beloved Korn shell. Oddly enough, it's not included with OSX (of course, that statement most likely points out my lack of knowledge in BSD).

Anyway, I found 'pdksh', and was able to successfully compile it on my OSX 10.0.1 system.

I had to tweak a few things, such as add a .profile to my home directory. You also need to use the Terminal Preferences to change the shell of the shell (?) to /usr/local/bin/ksh. I also updated /etc/shells, although I'm unsure whether or not that was needed.

Try this link - - for more information.

Of course, make sure you are root during the install process.

I also might add that I haven't done any extensive testing of the ksh, but so far it behaves as I expected, and also runs various shell scripts I had written on Solaris 2.x.

Good luck!
  • Currently 3.50 / 5
  You rated: 1 / 5 (4 votes cast)

Installing the Korn shell | 3 comments | Create New Account
Click here to return to the 'Installing the Korn shell' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
ksh possibilities
Authored by: goron on Apr 19, '01 06:31:33PM

Isn't zsh, included with OS X meant to be enhanced clone of ksh?

/bin/sh and /bin/zsh are the same

[ Reply to This | # ]
ksh possibilities
Authored by: wgscott on Jun 08, '03 02:55:07AM

sudo ln /bin/zsh /bin/ksh

alternatively ksh93 can be installed via fink.

[ Reply to This | # ]
Authored by: chenc on Jun 20, '01 12:44:41AM

Looks like the "real" korn shell has been open sourced, see

[ Reply to This | # ]