Software guide · Compute, Storage & Virtualization

What is mksh?

mksh is made by MirBSD. Command-line shell and scripting interpreter largely compatible with POSIX sh and the original Korn shell, designed to be compact and portable, with interactive job control, history and line editing, and UTF-8/Unicode support.

1 in 10large enterprise estates Samplify has analysed run mksh.
52tools in its category turn up across those estates.See the category
7core features, listed below.
01

What mksh does

Command-line shell and scripting interpreter largely compatible with POSIX sh and the original Korn shell, designed to be compact and portable, with interactive job control, history and line editing, and UTF-8/Unicode support.

  • Interactive and non-interactive command interpreter for shell scripting
  • Job control in interactive mode
  • Startup file processing for login and interactive sessions (system profile, user profile, and $ENV / user rc file)
  • Aliases, including tracked aliases and optional command tracking (trackall)
  • Command history and command-line editing modes (vi/emacs-style bindings) with configurable key bindings
  • Restricted shell mode with limitations on paths, cd, redirections creating files, and PATH/ENV/SHELL changes
  • Co-process support (pipeline |&)

Category: Embedded Operating Systems. mksh is open source and free to use.

02

What teams use it for

  • Interactive terminal shell for Unix-like systems
  • Executing shell scripts compatible with POSIX sh / ksh-style syntax
  • System scripting and administration in minimal/portable environments (including embedded or recovery contexts)
  • Providing a restricted shell environment for constrained user sessions
03

What it overlaps with

These tools do similar work and turn up in the same large estates. Owning more than one is common, and it is often where the savings are.

04

Questions buyers ask

What does mksh do?

Command-line shell and scripting interpreter largely compatible with POSIX sh and the original Korn shell, designed to be compact and portable, with interactive job control, history and line editing, and UTF-8/Unicode support.

How common is mksh in large enterprises?

Samplify finds mksh in about 1 in 10 of the large enterprise software estates it has analysed.

Is mksh free?

mksh is open source and free to use.

What can replace mksh?

Other tools in the same category include Windows, Red Hat Enterprise Linux, dracut, STM32CubeProgrammer.

Do we already own something that does what mksh does?

Often, yes. Large estates commonly hold several tools that overlap. Samplify compares every tool you own at feature level, across every category, and decides which one stays.

→

Paying twice for the same job?

Most large estates own several tools that do the same thing, often without anyone knowing. Samplify compares every tool you own at feature level and decides which one stays, with the evidence attached.

Take the assessmentHow Samplify works
05

Where this comes from

Samplify's software catalogue and the large enterprise estates it has analysed, as at 2 Dec 2026. Features and use cases are Samplify's own reading of the product. Check anything important with MirBSD.