Automic VaultAutomic Vault

brew

Installer mksh avec Homebrew, apk, apt, dnf, MacPorts, Nix, zypper

Consultez les chemins d'installation, exécutables, métadonnées et notes de sécurité de mksh pour les workflows d'agents IA.

installation

Commandes d'installation supplémentaires

macOS

Homebrewvérifié · 100%
brew install mksh

local Homebrew formula metadata

MacPortsvérifié · 94%
sudo port install mksh

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

Linux

Alpine Linux apkvérifié · 92%
sudo apk add mksh

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

Debian aptvérifié · 92%
sudo apt install mksh

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

Fedora dnfvérifié · 92%
sudo dnf install mksh

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

Nixvérifié · 92%
nix profile install nixpkgs#mksh

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

openSUSE zyppervérifié · 92%
sudo zypper install mksh

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

aperçu

Résumé du paquet

MirBSD Korn Shell

Commandes et alias

  • mksh

historique

Historique du projet et usages

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.

Historique du projet

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.

Historique d'adoption

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.

Modes d'utilisation

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.

Pourquoi les passionnés de paquets s'y intéressent

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.

Chronologie

  • 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.

posture de sécurité

Niveau de risque : yellow

generalized runtime or code generation signal.

Classificateur de risque

risque yellow · confiance moyen · runtime

Pourquoi

  • generalized runtime or code generation signal

Signaux

  • text:shell

Comportement d'installation

  • Aucun hook post-install Homebrew n’est enregistré dans les métadonnées de formule.
  • Les métadonnées de bottle Homebrew sont disponibles pour 13 plateformes.

Revue recommandée

Avant une utilisation sans surveillance par un agent, vérifiez si l'outil lit des identifiants en clair, écrit un état distant, publie des artefacts ou lance des plugins.

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

exécutables

Exécutables installés

CommandeTypeExpositionNote
mkshcliexécutable global

fraîcheur

Version et fraîcheur

Ces signaux séparent l'âge de génération de la page, l'activité du gestionnaire de paquets et la comparaison avec les versions amont. Un retard de version n'est signalé que lorsqu'une URL de preuve et des versions comparables sont présentes.

page générée2026-07-08
version du gestionnaire59c
gestionnaire mis à jour
données localesOK
amontnot checked
dernière version détectéenon détecté

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

  • infoNo package-manager update timestamp was available.confiance faible
  • infoRelease/tag comparison is only available for GitHub repositories.https://mbsd.evolvis.org/mksh.htmconfiance none

métadonnées d'installation

Métadonnées du paquet

Clé du paquetbrew:mksh
Version59c
Gestionnaire de paquetsHomebrew
Page du gestionnaire de paquetshttps://formulae.brew.sh/formula/mksh
Page d'accueilhttps://mbsd.evolvis.org/mksh.htm
Dépôthttps://www.mirbsd.org/cvs.cgi/src/bin/mksh
Docs amonthttps://mbsd.evolvis.org/mksh.htm
LicenceMirOS
Archive sourcehttps://mbsd.evolvis.org/MirOS/dist/mir/mksh/mksh-R59c.tgz
Bouteilledisponible (sur arm64_big_sur, arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, big_sur, catalina, monterey, sonoma, ventura, x86_64_linux)
post-install Homebrewnon défini
Serviceaucun déclaré

faits du registre

Détails de la base source

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

correspondances dans les bases sources

Autres enregistrements de gestionnaires de paquets

Les correspondances proviennent d’index externes de gestionnaires de paquets et restent séparées des liens de paquets Automic Vault locaux.

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 Dépendances
  • 1 dépendances optionnelles
  • normalized package name match
  • Correspondance par : 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
  • Correspondance par : 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 Dépendances
  • 1 dépendances optionnelles
  • normalized package name match
  • Correspondance par : 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 Dépendances
  • 1 fournit
  • normalized package name match
  • Correspondance par : 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
  • Correspondance par : 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 Dépendances
  • 8 fournit
  • normalized package name match
  • Correspondance par : 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 Dépendances
  • 3 fournit
  • normalized package name match
  • Correspondance par : 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
  • Correspondance par : 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

piste source

Généré depuis les données du dépôt

Cette page est servie par av-web depuis l'artéfact SQLite privé des paquets généré par scripts/generate-pkg-sqlite.py.

Sources utilisées

  • 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