Using Korn shell commands in scripts running under the bash shell
Published on 19th May 2007 Estimated Reading Time: 1 minuteThis is actually a fairly simple one: just prefix the relevant command with ksh
like below (in the example below, bash
won't know what to do with the print command otherwise):
ksh print "Hello, world!"
It's also useful for running Korn shell scripts under the bash shell as well.