Ksh

From Gentoo Wiki
Jump to:navigation Jump to:search

ksh (Korn shell) is a POSIX-compliant shell developed by David Korn. Gentoo provides ksh93u+m, forked from the original ATT ksh.

Installation

root #emerge --ask app-shells/ksh

Configuration

ksh can be configured via the file ~/.kshrc, which is executed for interactive shells when ENV is not set. Refer to the man page for details.

User shell

Users can make ksh their default shell by using chsh(1):

user $chsh -s /usr/bin/ksh

Removal

Unmerge

root #emerge --ask --depclean --verbose app-shells/ksh

See also

  • Bash — the default shell on Gentoo systems and a popular shell program found on many Linux systems.
  • Dash — a small, fast, and POSIX-compliant shell.
  • Dsh — a shell that allows parallel execution of remote commands across large numbers of servers
  • mksh — an actively developed free implementation of the Korn Shell programming language and a successor to the Public Domain Korn Shell
  • Shell — command-line interpreter that provides a text-based interface to users
  • Zsh — an interactive login shell that can also be used as a powerful scripting language interpreter.

External resources