all options
squeeze  ] [  squeeze-backports  ] [  wheezy  ] [  wheezy-backports  ] [  jessie  ] [  sid  ] [  experimental  ]
[ Source: mksh  ]

Package: mksh (50d-5 and others)

Links for mksh


Debian Resources:

Download Source Package mksh:


External Resources:

Similar packages:

MirBSD Korn Shell

mksh is the successor of the Public Domain Korn shell (pdksh), a Bourne/POSIX compatible shell which is largely similar to the original AT&T Korn Shell (ksh88/ksh93). It includes bug fixes and feature improvements, in order to produce a modern, robust shell good for interactive and especially script use. mksh has UTF-8 support (in string operations and the Emacs editing mode). 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. This shell is Debian Policy 10.4 compliant and may be used as /bin/sh on Debian systems (the /bin/lksh binary should be used for this), and as rescue and initrd shell (especially the /bin/mksh-static binary).

The mksh-static binary is a version of mksh, linked against klibc or dietlibc (if they exist for that Debian architecture and are usable) and optimised for small code size, for example for use on initrd or initramfs images, installation or rescue systems, or /bin/sh on slow architectures. It omits some leaf features to be even smaller.

The lksh binary is a script shell based on mksh intended to run old ksh88 and pdksh scripts, but not for interactive use. When used as /bin/sh it follows POSIX most closely.

A sample ~/.mkshrc is included in /usr/share/doc/mksh/examples and provided as /etc/mkshrc conffile, which is sourced by another file /etc/skel/.mkshrc users are recommended to copy into their home.

Tags: System Administration: System Boot, System Installation, Login, Software Development: devel::interpreter, devel::lang:posix-shell, Implemented in: C, User Interface: interface::commandline, interface::shell, Made Of: Manuals in Nroff Format, Role: Program, Scope: scope::application, suite::bsd, Purpose: Need an extra tag, Login, World Wide Web: web::cgi, works-with-format::plaintext, Works with: works-with::people, works-with::software:running, works-with::software:source, works-with::text, Unicode

Other Packages Related to mksh

  • depends
  • recommends
  • suggests
  • enhances

Download mksh

Download for all available architectures
Architecture Version Package Size Installed Size Files
alpha (unofficial port) 50d-5 477.4 kB1,177.0 kB [list of files]
amd64 50d-5 427.3 kB846.0 kB [list of files]
arm64 50d-5 408.0 kB882.0 kB [list of files]
armel 50d-3 403.6 kB868.0 kB [list of files]
armhf 50d-3 408.3 kB685.0 kB [list of files]
hppa (unofficial port) 50d-5 425.4 kB954.0 kB [list of files]
hurd-i386 50d-5 709.8 kB1,712.0 kB [list of files]
i386 50d-5 419.6 kB762.0 kB [list of files]
kfreebsd-amd64 50d-5 636.9 kB1,423.0 kB [list of files]
kfreebsd-i386 50d-5 616.6 kB1,338.0 kB [list of files]
m68k (unofficial port) 50d-5 395.4 kB761.0 kB [list of files]
mips 50d-5 420.1 kB960.0 kB [list of files]
mipsel 50d-5 423.9 kB960.0 kB [list of files]
powerpc 50d-5 410.2 kB878.0 kB [list of files]
powerpcspe (unofficial port) 50d-5 408.6 kB926.0 kB [list of files]
ppc64 (unofficial port) 50d-5 419.0 kB1,045.0 kB [list of files]
ppc64el 50d-5 421.3 kB935.0 kB [list of files]
s390x 50d-4 431.2 kB951.0 kB [list of files]
sh4 (unofficial port) 50d-5 662.4 kB1,295.0 kB [list of files]
sparc 50d-5 406.5 kB933.0 kB [list of files]
sparc64 (unofficial port) 50d-5 414.5 kB953.0 kB [list of files]
x32 (unofficial port) 50d-5 431.6 kB841.0 kB [list of files]