What else can I do with ksh?
In OpenBSD, ksh is pdksh, the Public Domain Korn Shell, and is the same binary as sh. Users comfortable with bash, often used on Linux systems, will probably find ksh very familiar. Ksh(1) provides most of the commonly used features in bash, including tab completion, command line editing and history via the arrow keys, and CTRL-A/CTRL-E to jump to beginning/end of the command line. If other features of bash are desired, bash itself can be loaded via either packages or ports. The command prompt of ksh can easily be changed to something providing more information than the default “$ ” by setting the PS1 variable. For example, inserting the following line: export PS1=’$PWD $ ‘ in your /etc/profile produces the following command prompt: /home/nick $ See the file /etc/ksh.kshrc, which includes many useful features and examples, and may be invoked in your user’s .profile. OpenBSD’s ksh(1) has been enhanced with a number of “special characters” for the primary prompt string, PS1, similar to t