Start networking and exchanging professional insights

Register now or log in to join your professional community.

Follow

What are the basic differences between bash and korn shell scripting? Will learning any of them will be sufficient?

Before learning or applying script, the difference between shells should be known.

user-image
Question added by Zahidul Alam Chowdhury , Business Assurance Senior Assistant Manager , Banglalink Digital Communications Ltd.
Date Posted: 2014/04/13

Bash.

The various UNIX and Linux implementations have various different source level implementations of ksh, some of which are real ksh, some of which are pdksh implementations and some of which are just symlinks to some other shell that has a "ksh" personality. This can lead to weird differences in execution behavior.

At least with bash you can be sure that it's a single code base, and all you need worry about is what (usually minimum) version of bash is installed.

 

anyway, here is a comparison of almost all shells including bash and ksh (korn):

 

https://en.wikipedia.org/wiki/Comparison_of_command_shells

 

 

Hello Zahidul,

 

My suggesion is go with bash shell script rather than ksh scripts Bash is widley considered as industry standard.

 

 

More Questions Like This

Do you need help in adding the right keywords to your CV? Let our CV writing experts help you.