![]() ![]() To change the Terminal’s default shell, see " Customizing the Terminal,” later in this chapter. Invoking bash with the - posix command-line option changes the default behavior of bash to comply with the POSIX 1003.2 standard in cases where the default behavior differs from this standard. The version of bash that ships with Tiger has improved POSIX support over bash implementations that shipped with earlier releases of Mac OS X. Similarly, /bin/sh is a hard link to bash, which also reverts to traditional behavior when invoked through this link (see the bash manpage for more information). When tcsh is invoked through the csh link, it behaves much like csh. The bash, ksh, and zsh are sh-compatible. Mac OS X comes with the Bourne-Again shell ( bash) as the default user shell and also includes the TENEX C shell ( tcsh), the Korn shell ( ksh), and the Z shell ( zsh).
0 Comments
Leave a Reply. |