DevTech101

DevTech101

In Oracle Solaris 11, Korn Shell 93 (/usr/bin/ksh/ or usr/bin/ksh93) replaces both the Bourne Shell (/usr/bin/sh or /sbin/sh) and Korn Shell 88 (/usr/bin/ksh).

There are some incompatibilities between the shells. They are described in:

/usr/share/doc/ksh/COMPATIBILITY

If a script has compatibility problems you can use the legacy shell by changing the she-bang line:

If this doesn't work

Use This

#!/bin/ksh #!/usr/sunos/bin/ksh
#!/usr/bin/ksh #!/usr/sunos/bin/ksh
   
#!/bin/sh #!/usr/sunos/bin/sh
#!/usr/bin/sh #!/usr/sunos/bin/sh
#!/sbin/sh #!/usr/sunos/bin/sh
0 0 votes
Article Rating
Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x
%d bloggers like this: