[LINUX] Shell type

You can use different shells on Linux. All shells make no difference in that they bridge the kernel and the user.

However, the characteristics of each shell differ depending on the time of development and the way of thinking of the author.

A typical shell is introduced below.

sh

--The Bourne shell is the oldest shell that has existed.

--Not limited to Linux, it can be used on many operating systems such as FreeBSD, Solaris, HPUX and AIX.

--Since it is an old shell, it has few functions and is especially inconvenient to use interactively, so it is rarely used as a login shell now.

csh

--It is called the C shell. Currently, there is tcsh, which is the successor to csh, so it is rarely used.

bash

--A shell with extended functions based on sh.

--It has enough functions for interactive operation and is used as the default login shell in many Linux environments.

tcsh

--It is a C shell type shell developed as a successor to csh.

--Like csh, it's not suitable for writing shell scripts.

zsh

――It is a relatively new shell, which actively incorporates the functions of other shells such as bash and tcsh, and adds its own extensions.

--It has so many features that it is not for beginners.

Recommended Posts

Shell type
Dictionary type 2
Dictionary type 1
Shell memo
Shell programming
About reference type
Shell script basics # 2
Python numeric type
List type, tuple type 2
Golang interface type
List type, tuple type
Linux [shell command]
Shell variables, environment variables
Try type hints
Python2 string type
Python # string type
the shell review