Shell scripts are written to execute a set of commands and to group them. The scripts will have the following special line
#!/bin/bash
This is an indication that the shell script is used in bash shell and that it should be called for command execution.
To know the path of the bash shell, type
$ cat /etc/shells
(more…)