A few common shell

Source: Internet
Author: User

Different shells have different functions, the shell also determines the syntax of the function in the script, the default shell in Linux is/bin/bash, the popular shell has ash, bash, Ksh, CSH, zsh, and so on, different shells have their own characteristics and use.

Bash

The Shell,bash shell, which is used by default by most Linux systems, is a free version of the Bourne shell, which is the oldest Unix Shell,bash with a feature that can be viewed with the help command. Includes functionality that almost covers the shell, so a generic shell script will specify it as the execution path, with 40 internal commands.

650) this.width=650; "Src=" https://s3.51cto.com/wyfs02/M02/9E/A0/wKioL1mT_8qhIMNgAABBiyxnhwQ309.png-wh_500x0-wm_ 3-wmp_4-s_1985909431.png "title=" 2017-08-16_16-17-46.png "alt=" Wkiol1mt_8qhimngaabbiyxnhwq309.png-wh_50 "/>

Ash

The ash shell was written by Kenneth Almquist, a small shell that occupies the least system resources in Linux, and it contains only 24 internal commands, making it inconvenient to use.

Csh

C Shell uses the "Class C" syntax, CSH is a C language style of a shell, its internal commands are 52, a larger. The current use is not much, has been replaced by/BIN/TCSH.

Ksh

Korn SH The ell syntax is the same as the Bourne shell, with the easy-to-use features of the C shell. Many of the installation scripts are used ksh , andKsh has 42 internal commands that are somewhat restrictive compared to bash.

Tcsh

TCSH is an enhanced version of CSH and is fully compatible with C shell.

Sh

is a shortcut that has been replaced by/bin/bash.

Zsh

One of the largest shell:zsh in Linux at the moment. It has 84 internal commands and is more complex to use. In general, the shell is not used.



This article from "Big Plum" blog, declined reprint!

A few common shell

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.