How to Install KSH in Cygwin

Techwalla may earn compensation through affiliate links in this story. Learn more about our affiliate and product review process here.

The Kourne Shell, or KSH, is a command-line shell for Linux. Cygwin is capable of using KSH, although it ships with only the Bash shell installed. Once KSH is installed you'll be able to write your shell scripts using KSH syntax.

Step 1

Click on the Windows logo to open your "Start" menu and them type "cmd.exe".

Advertisement

Video of the Day

Step 2

Type "cd C:\cygwin" with no quotes and press "Enter." If you installed Cygwin in a non-default location, enter this path instead.

Step 3

Type "setup.exe -q -P ksh" without quotation marks, then press "Enter." The Cygwin installation will automatically download the new KSH package.

Advertisement

Advertisement

Advertisement

Video of the Day

references

Report an Issue

screenshot of the current page

Screenshot loading...