What is bash? Bash (GNUBourne-AgainShell) is the internal Shell of many Linux platforms. In fact, there are many shells used in traditional UNIX, such as tcsh, csh, ash, bsh, and ksh, shellScript is roughly the same. When you learn a Shell, other shells will get started quickly. In most cases, a ShellScript can usually use dash on many Shell types.
What is bash?
Bash (GNU Bourne-Again Shell) is the internal Shell of many Linux platforms. In fact, there are many shells used in traditional UNIX, such as tcsh, csh, ash, bsh, and ksh, shell scripts are roughly the same. After you learn a Shell, other shells will be used quickly. In most cases, a Shell Script can be used in many types of shells.
What is dash?
Dash is the standard command interpreter for the system. The current
Version of dash is in the process of being changed to conform with
POSIX 1003.2 and 1003.2a specifications for the shell.
First run the ls-l/bin/sh command
We will find that Ubuntu uses dash by default.
To modify the default sh, run the following command:
Sudo dpkg-reconfigure dash
Then select No]
Run ls-l/bin/sh