Automic VaultAutomic Vault

brew

mksh mit Homebrew, apk, apt, dnf, MacPorts, Nix, zypper installieren

Prüfe Installationswege, Executables, Metadaten und Sicherheitshinweise für mksh in AI-Agent-Workflows.

Installation

Weitere Installationsbefehle

macOS

Homebrewverifiziert · 100%
brew install mksh

local Homebrew formula metadata

MacPortsverifiziert · 94%
sudo port install mksh

MacPorts ports tree · shells/mksh/Portfile · Quelle: api.github.com

Linux

Alpine Linux apkverifiziert · 92%
sudo apk add mksh

Alpine Linux edge package indexes · mksh · Quelle: dl-cdn.alpinelinux.org

Debian aptverifiziert · 92%
sudo apt install mksh

Debian stable package indexes · mksh · Quelle: deb.debian.org

Fedora dnfverifiziert · 92%
sudo dnf install mksh

Fedora Rawhide package metadata · mksh · Quelle: dl.fedoraproject.org

Nixverifiziert · 92%
nix profile install nixpkgs#mksh

nixpkgs package indexes · pkgs/by-name/mk/mksh/package.nix · Quelle: api.github.com

openSUSE zypperverifiziert · 92%
sudo zypper install mksh

openSUSE Tumbleweed package metadata · mksh · Quelle: download.opensuse.org

Überblick

Paketzusammenfassung

MirBSD Korn Shell

Befehle und Aliase

  • mksh

Verlauf

Projektgeschichte und Nutzung

mksh, the MirBSD Korn Shell, is a Bourne/POSIX/Korn-style command interpreter and scripting language. The official site describes it as an actively developed free implementation of the Korn Shell programming language and successor to the Public Domain Korn Shell line.

Projektgeschichte

The mksh FAQ traces the lineage from the Public Domain Bourne Shell and pdksh, through OpenBSD cleanup work, to MirBSD development beginning in 2002. After 2004, development added portability, parser reorganization, bug fixes, and features influenced by ksh93, bash, zsh, BSD csh, and POSIX work.

The official mksh page lists R59c from October 31, 2020 as the current version and provides signed source distributions plus instructions for CVS HEAD.

Adoptionsgeschichte

mksh became the system shell in several operating systems and Linux distributions. The FAQ says it is used as Android's system shell for startup, background, and user-invoked commands.

Its broad packaging footprint across Homebrew, Debian, Ubuntu, Alpine, Fedora, Nix, MacPorts, and SUSE reflects a mature portable shell rather than a platform-specific utility.

Wie es verwendet wird

The mksh manual describes it as a command interpreter for both interactive and shell-script use, with a command language that is a superset of sh and POSIX shell and largely compatible with the original Korn shell.

Interactive users normally use `~/.mkshrc` or `$ENV`; login shells also process profile files. Packagers commonly install `dot.mkshrc` into `/etc/skel/.mkshrc` or `/etc/mkshrc` with a user-editable wrapper.

Warum Paket-Nerds sich dafür interessieren

mksh matters to package nerds because shells sit at the boundary between user environment, system boot scripts, and package maintainer scripts. It is a small but consequential runtime whose packaging choices affect `/bin/sh` compatibility, skeleton rc files, Android system behavior, and historical Korn shell compatibility.

It is also a case where the official project explicitly labels its GitHub mirror unofficial, so package metadata should prefer the MirBSD homepage, signed distfiles, manual, FAQ, and CVS/CVSweb sources.

Zeitleiste

  • 1980s: Public Domain Bourne Shell lineage begins, later becoming pdksh.
  • 1999: pdksh development ends.
  • 2002: Development of what became mksh starts as MirBSD's system shell.
  • 2003: OpenBSD cleanup of pdksh feeds into the lineage.
  • 2004: mksh sees independent parser, portability, and feature work.
  • 2020-10: Official page lists mksh R59c as current.

Related projects

  • mksh is related to pdksh, oksh, AT&T ksh/ksh93, POSIX sh, bash, zsh, lksh, Android system shell usage, MirBSD, Debian, and OpenWrt/FreeWRT packaging.

Sicherheitslage

Risikostufe: yellow

generalized runtime or code generation signal.

Risikoklassifikator

yellow Risiko · mittel Konfidenz · runtime

Warum

  • generalized runtime or code generation signal

Signale

  • text:shell

Installationsverhalten

  • In den Formelmetadaten ist kein Homebrew-Post-install-Hook erfasst.
  • Homebrew-Bottle-Metadaten sind für 13 Plattformziele verfügbar.

Empfohlene Prüfung

Prüfe vor unbeaufsichtigter Agent-Nutzung, ob das Tool Klartext-Credentials liest, Remote-Zustand schreibt, Artefakte veröffentlicht oder Plugins ausführt.

local files

Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.

Configuration files

Config paths the tool may read or write during local use.

Linux
/etc/skel/.mkshrc/etc/mkshrc
Unix
~/.mkshrc~/.profile/etc/profile/etc/suid_profile/etc/shells

Executables

Installierte Executables

BefehlArtSichtbarkeitHinweis
mkshcliglobales Executable

Aktualität

Version und Aktualität

Diese Signale trennen das Alter der Seitengenerierung, Aktivität des Paketmanagers und Upstream-Release-Vergleich. Versionsrückstand wird nur gemeldet, wenn eine Evidenz-URL und vergleichbare Versionen vorhanden sind.

Seite generiert2026-07-08
Manager-Version59c
Manager aktualisiert
lokale DatenOK
Upstreamnot checked
neueste erkannte Versionnicht erkannt

https://mbsd.evolvis.org/mksh.htm

  • InfoNo package-manager update timestamp was available.niedrig Konfidenz
  • InfoRelease/tag comparison is only available for GitHub repositories.https://mbsd.evolvis.org/mksh.htmnone Konfidenz

Installationsmetadaten

Paketmetadaten

Paketschlüsselbrew:mksh
Version59c
PaketmanagerHomebrew
Paketmanager-Seitehttps://formulae.brew.sh/formula/mksh
Homepagehttps://mbsd.evolvis.org/mksh.htm
Repositoryhttps://www.mirbsd.org/cvs.cgi/src/bin/mksh
Upstream-Dokumentationhttps://mbsd.evolvis.org/mksh.htm
LizenzMirOS
Quellarchivhttps://mbsd.evolvis.org/MirOS/dist/mir/mksh/mksh-R59c.tgz
Bottleverfügbar (auf arm64_big_sur, arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, big_sur, catalina, monterey, sonoma, ventura, x86_64_linux)
Homebrew post-installnicht definiert
Dienstkeiner deklariert

Registry-Fakten

Details aus der Quelldatenbank

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namemksh
Version Scheme0
Revision0
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • stable

Source-Datenbank-Treffer

Andere Paketmanager-Einträge

Treffer stammen aus externen Paketmanager-Indizes und bleiben von lokalen Automic-Vault-Paketlinks getrennt.

Debian apt95%

mksh 59c-41+b2

MirBSD Korn Shell

http://mirbsd.de/mksh

sudo apt install mksh
  • Section: shells
  • Architecture: amd64
  • Source Package: mksh
  • 1 Abhängigkeiten
  • 1 optionale Abhängigkeiten
  • normalized package name match
  • Abgeglichen nach: Mksh
Debian stable package indexes · deb.debian.org · Debian stable package indexes: mksh from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

mksh

nix profile install nixpkgs#mksh
  • normalized package name match
  • Abgeglichen nach: Mksh
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/mk/mksh/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
Ubuntu apt95%

mksh 59c-37

MirBSD Korn Shell

http://mirbsd.de/mksh

sudo apt install mksh
  • Section: universe/shells
  • Architecture: amd64
  • 1 Abhängigkeiten
  • 1 optionale Abhängigkeiten
  • normalized package name match
  • Abgeglichen nach: Mksh
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: mksh from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
apk95%

mksh 59c-r4

MirBSD Korn Shell

https://www.mirbsd.org/mksh

sudo apk add mksh
  • License: MirOS AND Unicode-DFS-2016
  • Architecture: x86_64
  • Source Package: mksh
  • 1 Abhängigkeiten
  • 1 stellt bereit
  • normalized package name match
  • Abgeglichen nach: Mksh
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: mksh from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk95%

mksh-doc 59c-r4

MirBSD Korn Shell (documentation)

https://www.mirbsd.org/mksh

sudo apk add mksh-doc
  • License: MirOS AND Unicode-DFS-2016
  • Architecture: x86_64
  • Source Package: mksh
  • normalized package name match
  • Abgeglichen nach: Mksh
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: mksh-doc from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
dnf95%

mksh 59c-15.fc44

MirBSD enhanced version of the Korn Shell

https://www.mirbsd.org/mksh.htm

sudo dnf install mksh
  • License: MirOS AND ISC
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: mksh
  • 7 Abhängigkeiten
  • 8 stellt bereit
  • normalized package name match
  • Abgeglichen nach: Mksh
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: mksh from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
zypper95%

mksh 59c-7.1

MirBSD Korn Shell

https://mbsd.evolvis.org/mksh.htm

sudo zypper install mksh
  • License: ISC AND MirOS
  • Category: System/Shells
  • Architecture: x86_64
  • Source Package: mksh
  • 2 Abhängigkeiten
  • 3 stellt bereit
  • normalized package name match
  • Abgeglichen nach: Mksh
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: mksh from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
MacPorts95%

mksh

sudo port install mksh
  • normalized package name match
  • Abgeglichen nach: Mksh
MacPorts ports tree · api.github.com · MacPorts ports tree: shells/mksh/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

Quellspur

Aus Repository-Daten generiert

Diese Seite wird von av-web aus dem privaten Paket-SQLite-Artefakt bereitgestellt, das scripts/generate-pkg-sqlite.py erstellt.

Verwendete Quellen

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated configuration and credential file locations
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment