Shell

What does this line in shell scripts means?: #!/bin/bash

Difficulty: unrated

Source: bregman-arie/devops-exercises by Arie Bregman

Answer

#!/bin/bash is She-bang

/bin/bash is the most common shell used as default shell for user login of the linux system. The shell’s name is an acronym for Bourne-again shell. Bash can execute the vast majority of scripts and thus is widely used because it has more features, is well developed and better syntax.