Unix Shell
A Unix shell is the program which reads user input from the command line and executes actions based upon that input.
There are two general families of Unix shells, the Bourne family and the C family.
The Bourne shell was the original Unix shell. The C shell was the first competing Unix shell.
tcsh is an improved variant of the C shell.
The Korn Shell (ksh) and the Bourne Again Shell (bash) are improved variants of the Bourne shell.
Other less popular shells include the zsh, rc, and es shells.
To determine what shells are available on your Unix system, view the contents of the file /etc/shells.
The decision on which shell to use is almost a religious preference, with Bash and tcsh being the current favorites.
Extensive information regarding Unix shells can be found in the Unix shell differences FAQ.
- How to Tell what Shell You’re Using
Whatever operating system you choose, a shell will be an important part of it. A shell is usually defined as software that provides the end user with an interface. In technical terms, the shell is the part of the software that gives you access to the kernel. The term shell is used freely and can [...]...
- Unix Shell Scripting Tutorials
Unix Shell Scripting Tutorials This Unix shell scripting tutorial provides samples and instructional materials that are easy to understand and useful for Unix shell scripting. It also offers illustrated samples that will helps users explore different avenues of Unix shell scripting. Bourne Shell Programming Tutorial Learn how to use the Unix shell with this [...]...
- How to Change Your Shell
Under some version of Unix, users can use the `chsh` or `passwd -e` commands to edit the shell configured for their account in the passwd file. Under other Unix variants, only the root user can use these commands. Your shell is defined in the last field of the password file. If you have “root” privileges, you [...]...
- Unix Scripts
A Unix script is a program which is written in a programming language built into one of the Unix shells. If you can type commands into the Unix shell, you can write a shell script. A shell script can be as simple as a text file containing a list of commands. Let’s say that you [...]...
- How to Capture a Unix Terminal Session
One of the best methods to capture a Unix terminal session is to use the `script` command. In this example we start a script session, run a couple of commands, and then use the `exit` command to stop capturing the terminal session: $ script Script started, output file is typescript $ pwd /home/will $ ps [...]...




