What's a shell and what is Bash?

Source: Internet
Author: User

Often heard: Shell programming, bash programming, and bash shell programming, what is the shell, and what is bash, what are the links between the two ...





bourne shell is the shell used by the early Unix system, located in/bin/sh, or SH, which is the shell's embodiment. It can be understood that the shell is an object, and that the Bourne shell is only an instance of the object.


sh is not only a command interpreter, but also a programming language, which can combine various commands and logic to form new commands. And SH has become the de facto standard for all subsequent shells, and the shell on the Unix-like system is compatible with the Bourne shell.



bash (Bourne-again Shell) is also a shell, with the greatest degree of compatibility with SH, and introduces some practical features from Korn Shell Ksh and C shell csh. More powerful in terms of interactivity, and programmability than Sh.



> Now the previous statement is clear:

shell programming is the use of a shell (possibly bash) for programming, as in programming language programming, and ultimately a language to choose.


bash programming refers to programming with Bash (the shell), as in Python (programming language).


Bash shell programming is a "bash programming" wordy statement.


If interested, you can follow the subscription number "database Best practices" (Dbbestpractice).

What's a shell and what is Bash?

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.