This is the official manual for the latest Org-mode release.
This header argument can turn results into executable script files. By
:shebang header argument to a string value (for example,
:shebang "#!/bin/bash"), Org inserts that string as the first line of
the tangled file that the ‘src’ code block is extracted to. Org then
turns on the tangled file's executable permission.