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

Table of Contents

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

Setting the :shebang header argument to a string value (e.g., :shebang "#!/bin/bash") causes the string to be inserted as the first line of any tangled file holding the code block, and the file permissions of the tangled file are set to make it executable.