A typical shell script is a text file that contains a series of commands or instructions that can be
executed by a shell interpreter. A shell script usually has the executable permission bit set, which
means that it can be run as a program by the user or another program. A shell script also starts with
the two character sequence #!, which is called a shebang or a hashbang. This sequence tells the
operating system which shell interpreter to use to run the script. For example, #!/bin/bash indicates
that the script should be run by the bash shell. Reference:
Linux Essentials - Linux Professional Institute (LPI) 1
Linux Essentials - Linux Professional Institute Certification Programs 2