|Skip Navigation Links|
|Exit Print View|
|Transitioning From Oracle Solaris 10 to Oracle Solaris 11 Oracle Solaris 11 Information Library|
Oracle Solaris 11 introduces user environment and command-line argument changes that include the following:
Shell changes - The default shell, /bin/sh, is now linked to ksh93. The default user shell is the Bourne-again (bash) shell.
The legacy Bourne shell is available as /usr/sunos/bin/sh.
The legacy ksh88 is available as /usr/sunos/bin/ksh from the shell/ksh88 package.
Korn shell compatibility information is available in /usr/share/doc/ksh/COMPATIBILITY.
The default user path is /usr/bin. The default path for the root role is /usr/bin:/usr/sbin.
Administration commands that were previously in /sbin have moved to /usr/sbin. In addition, the /sbin directory has been replaced by an /sbin -> /usr/sbin symbolic link.
The MANPATH environment variable is no longer required.
The man command determines the appropriate MANPATH based on the PATH environment variable setting.
Development tools that were previously in /usr/ccs/bin have moved to /usr/bin. The /usr/ccs/bin directory is replaced by a /usr/ccs/bin -> /usr/bin symbolic link.
Files that were previously in the /usr/sfw directory are now in /usr/bin.
In Oracle Solaris 10, the default scripting shell (/bin/sh) is the Bourne shell. In Oracle Solaris 11, /bin/sh is the Korn shell (ksh93), and the default interactive shell is the Bourne-again (bash) shell. When used as a login shell, bash retrieves configuration information from the first instance of .bash_profile, .bash_login, or .profile file.
The default PATH environment variable for bash is /usr/bin:/usr/sbin, and /usr/gnu/bin now comes before /usr/bin.