What is KSH?
Ksh (KornShell) is a UNIX shell developed by David Korn at Bell Labs in the early 80. Initially developed from bourne shell source code.
Installation
KSH is available on Ubuntu repository. To install ksh on Ubuntu Linux we can do the following commands.
First, let’s update apt metadata using command below.
sudo apt-get update
Install ksh using command below
sudo apt-get install ksh
Of course you can also use apt instead of apt-get to install ksh.
sudo apt install ksh
Using KSH
After successfully install ksh we can start using ksh by running ksh
from current shell.
ksh
To check what is the running shell we can use command below
ps -p $$
It should provide output similar to output below
PID TTY TIME CMD
7457 pts/0 00:00:00 ksh
That’s it, you have successfully installed KSH on your Ubuntu Server and you can start using it!
Comments (0)