Question: what is the difference between bash and korn shell?
Answer: KSH (The Korn Shell) was developed many years before the BASH. Ksh has associative arrays and handles loop syntax better than bash. ... Bash can handle exit codes from pipes in a cleaner way. Bash and KSH are both Bourne=compatible shell, they share common function and features and can be interchangeable to use.