This is the official manual for the latest Org-mode release.

Table of Contents

Next: , Previous: rownames, Up: Specific header arguments


14.8.2.23 :shebang

This header argument can turn results into executable script files. By setting the :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.