Friday 17 February 2023

How to Install KSH (Korn Shell) Shell on CentOS 9 Stream

KSH (Korn Shell)is a shell programming language, which is upward compatible with “sh” (the Bourne Shell). KSH was developed by David Korn at Bell Labs in 1980s. KSH is quite popular is loved by sysadmins to automate everyday tasks on Unix like operating systems. You can install ksh on CentOS 9 using its AppStream repository.

This article describes How to Install KSH Shell on CentOS 9.
Step 1. KSH Installation: Run the following command to install ksh shell binary:
[root@linuxcnf ~]# dnf install ksh
[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+m/1.0.0-beta.1 2021-05-10
[root@linuxcnf ~]#
[root@linuxcnf ~]# which ksh
[root@linuxcnf ~]#
Done!!! KSH Shell installation successful done on CentOS 9.

No comments:

Post a Comment