Shebang is an actively used design pattern created in 1979. In computing, a shebang is the character sequence consisting of the characters number sign and exclamation mark (#!) at the beginning of a script. It is also called sha-bang, hashbang, pound-bang, or hash-pling.

40Years Old

Languages with Shebang include bourne-shell, erlang, python

Example from bourne-shell:

#!/bin/sh -x

Example from erlang:

#!/usr/bin/env escript

Example from python:

#!/usr/bin/env python

Last updated February 18th, 2020

Edit Shebang on GitHub