Thursday 3 November 2022

How to Install KSH (Korn Shell) Shell on CentOS 8

KSH (Korn Shell) is a shell programming language, which is upward compatible with 'sh' (Bourne Shell). KSH was developed by David Korn at Bell Labs in 1980s. KSH is quite popular and used by most of the Linux System Admins to automate daily tasks on Linux/Unix like operating systems. You can install ksh on CentOS 8 using its AppSteam repository.

This article describes How to Install KSH Shell on CentOS 8.
Step 1. KSH Installation: Run the following command to install ksh shell binary:
[root@linuxcnf ~]# dnf install ksh
Last metadata expiration check: 0:00:16 ago on Thu 03 Nov 2022 11:16:59 AM …………………….
[root@linuxcnf ~]#
Step 2. Validate Installation: Run the following command to validate the installation and know the installation path:
[root@linuxcnf ~]# ksh --version
  version         sh (AT&T Research) 93u+ 2012-08-01
[root@linuxcnf ~]#
[root@linuxcnf ~]# which ksh
[root@linuxcnf ~]#
Done!!! KSH Shell installation successful done on CentOS 8.

No comments:

Post a Comment