Bash

What is Bash?

What is Bash?

Bash is the shell or command language translator, for the GNU(which stand for  GNU's Not UNIX) or Linux operating system. The name Bash is the short form of ‘Bourne Again SHell’, The name Bash is a tribute to Stephen Bourne , the inventor of the explicit ancestor of the existing Unix shell sh , which is showed in the Seventh Edition Bell Labs Research edition of Unix. Bash is essentially consistent with sh and integrates useful functionality from the Korn shell i.e ksh and as well as the C shell which is known as csh. It is meant to be a conformant application of the IEEE POSIX (Portable Operating System Interface) Shell and Instruments section of the IEEE POSIX specification (IEEE Standard 1003.1). It proposes practical enhancements over sh for both interactive and as well as programming use.

Although the GNU (GNU's Not UNIX) OS supports other shells too, which includes a variant of csh, but still Bash is the default shell for Linux. Same as other GNU software’s, Bash is handy. 

Shell: - A UNIX Shell is a program or a command line interpreter that interprets the user commands which are either entered by the user directly or which can be accessed from a file extension of .sh (that is Shall Script), and then we can give them to the operating system for managing. It is essential to note which Shall scripts are explained and not compiled, as your computer system understands them and there is no requirement to compile Shell Scripts before execution.

There are various kinds of shells offered by Linux Operating Systems. A few of them are as given below:

Bourne Again Shell (Bash)

C shell (Csh)

Korn Shell (Ksh)

GNU Bourne Shell 

We can check the available or supported shell’s on you system using the following commands

cat /etc/shells  

And to check the location of Bash we can simply learn

which bash
Text

Description automatically generated

After running the above commands you will see a screen like this one.