Shell Scripting


On UNIX-like systems, the shell is the command interpreter used for executing commands during a terminal session and for running scripts. There are many different shells available providing different combinations of features. They can be classified according to the syntax they accept into two main families:

On each system there is a default shell for use by scripts and an initial login shell for each user. POSIX defines the minimal behaviour required of the default shell, and scripts which seek to be portable should avoid relying on behaviour outside of this subset.


Further reading