The KornShell (ksh) is a standard/restricted command and programming language developed by AT&T.
- AT&T Korn shell — Official AT&T version.
More implementations are provided in the Arch User Repository:
- loksh — A Linux port of OpenBSD's ksh
- OpenBSDs Korn Shell — Porting of the OpenBSD version of ksh to GNU/Linux.
- MirBSD™ Korn Shell — Enhanced version of the public domain ksh.
Making a ksh implementation your default login shell
Change the default shell for the current user:
$ chsh -s /bin/ksh implementation
Change the default shell before removing the ksh packages.
Run following command:
$ chsh -s /bin/bash user
Use it for every user with m/ksh set as their login shell (including root if needed). When completed, theAUR package can be removed.
Alternatively, change the default shell back to Bash by editing
/etc/passwd as root.
/etc/passwdas it helps prevent invalid entries and/or syntax errors.
For example, change the following: