In Linux adding #!/bin/bash is telling the the executable to execute with bash.
I was wondering, why is this specified in full path? I would expect that since bin is in a path specified in PATH it would find it just by adding #!bash
This is not really an inconvenience, just curious. Thanks
#!
is defined. – Chris Davies May 27 '17 at 19:42