New Shell In Oracle Solaris 11
- by rickramsey
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
- Mike Gerdts http://blogs.oracle.com/zoneszone/
Website
Newsletter
Facebook
Twitter