Register now or log in to join your professional community.
Before learning or applying script, the difference between shells should be known.
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.