[X-Unix] Changing the default shell

Larry Helms lhelms at sonic.net
Thu Jul 15 09:33:07 PDT 2004


Each shell uses a different set of files - which controls what gets setup
when you logon/logoff.  Personally, I prefer to use the zsh shell... As it
is most 'Korn' like.


SHELL           Files

csh             Global: /etc/csh.cshrc, /etc/csh.cshlogin, csh.logout
                Local:  $HOME/.cshrc, $HOME/.login, $HOME/.logout

Bash            Global: /etc/profile
                Local:  $HOME/.bashrc, $HOME/.bash_profile,
                        $HOME/.bash_login

zsh             Global: /etc/zshenv, /etc/zshrc, /etc/zlogin, /etc/zlogout
                Local:  $HOME/.zshenv, $HOME/.zprofile, $HOME/.zlogin

All this information is available on your own Mac.
Open a Terminal window and enter:

man {shell}




More information about the X-Unix mailing list