Shell categories

links: |- commands -|- index -|- home -|
internal: bourne C shell others configuration historic end

Unix shells can be broadly divided into four categories: Bourne-like, C Shell-like, nontraditional, and historical.
See http://en.wikipedia.org/wiki/Unix_shell ...

Bourne shell compatible

In my Ubuntu 8.04 LTS: April 2008 (Hardy Heron) /bin/sh (sh) is in fact linked to /bin/dash, since Ubuntu is largely based on the Debian distro, which states it is POSIX conformant.

top


C shell compatible

top


Other or exotic

A list of various shells may be found at www.freebsd.org.

top


Configuration files for shells

Shells read configuration files on multiple circumstances which differ depending on the shell. This table shows the configuration files for popular shells:

sh ksh csh tcsh bash zsh
/etc/.login login login
/etc/csh.cshrc yes
/etc/csh.login login
~/.tcshrc yes
~/.cshrc yes yes
~/.login login login
~/.logout login login
/etc/profile login login i.login
~/.profile login login login
~/.bash_profile login
~/.bash_login login
~/.bash_logout login
~/.bashrc n/login
/etc/zshenv yes
/etc/zprofile login
/etc/zshrc int.
/etc/zlogin login
/etc/zlogout login
~/.zshenv yes
~/.zprofile login
~/.zshrc int.
~/.zlogin login
~/.zlogout login

Explanation:

top


Historic

top


checked by tidy  Valid HTML 4.01 Transitional