Where do I Find Bash
You can find bash as an executable program located in standard binary directories of your operating system.
If you are using an operating system which does not contain bash pre-installed (FreeBSD, Windows), you can download and build source code from gnu.org. Windows users can use Cygwin.
Bash supports two distinct operation modes: interactive and non-interactive mode. In interactive mode, the bash waits for you for entering commands. In non-interactive mode, the bash executes commands from the script file without waiting for the user’s commands.
Assuming you have bash installed, you can run bash from the terminal. Most terminals are pre-configured to start the shell program. To find out where is your bash located enter the following command:
echo $SHELL
Output: /bin/bash
Another way how to get path to bash:
echo $BASH
Output: /bin/bash
If you are not sure if you are using bash, enter:
echo $0
Output: -bash
$0 prints the program name, in our case it is actually running shell.