Registered 2010-07-09 by Thorsten Glaser

mksh, The MirBSD Korn Shell, is a bourne-compatible and mostly POSIX 2008 compliant shell which is largely similar to the original AT&T Korn shell; mksh is the only pdksh derivate currently being actively developed.

mksh includes bug fixes and feature improvements, in order to produce a modern, robust shell good for interactive and especially script use. It has UTF-8 support (in substring operations and the Emacs editing mode) and, while R42b corresponds to OpenBSD 5.1-current ksh (without GNU bash-like PS1 and fancy character classes), adheres to SUSv4 and is much more robust. The code has been cleaned up and simplified, bugs fixed, standards compliance added, and several enhancements (for extended compatibility to other modern shells – as well as a couple of its own) are available. The build environment requirements are autoconfigured; mksh is portable to many unixoid operating systems and then some. It has sensible defaults as usual with BSD.

Online manual page: or (ISO A4 paper PDF)

For contributing, you may eMail to miros-mksh on the mirbsd.o®g domain, or if you prefer open up a bug at Launchpad against this project (NOT the package in Ubuntu or Debian, that is for packaging issues ONLY).

Project information

Part of:
Thorsten Glaser
MirOS Developers
Development focus:

trunk series 

Browse the code

Programming Languages:
Version control system:
Other/Open Source
(The MirOS Licence – – which is already packaged in *buntu.)

RDF metadata

View full history Series and milestones

mksh trunk series is the current focus of development

More contributors Top contributors

All packages Packages in Distributions

Get Involved


mksh does not have any download files registered with Launchpad.