shBourne Shell
, developed by Steve Bourne @ AT&TThe standard shell
on UNIX
based system.The first popular shell.cshDeveloped by Bill Joy.Bill built csh
, vi
, BSD
.tcshAn improved version of csh
.Compared with csh
, adding Command-line completion
.ashLight-weighted ShellCompatible with bash
.bashbash
is compatible with sh
(Bourne Shell).
Difference between bash and shbash
expands some params, and commandsGNU/Linux
Use commands to exminate available shells:
$ cat /etc/shells/bin/sh/bin/bash/sbin/nologin/usr/bin/sh/usr/bin/bash/usr/sbin/nologin/bin/tcsh/bin/csh
On GNU/Linux
, sh
is replaced with bash
$ echo $SHELL/bin/bash
SHELL
is an environment variable under GNU/Linux
, it indicates the path of current shell we use.