hashbang is currently used for a mixture of questions about hashbangs in URLs and questions about Unix shebangs, while shebang is purely about the latter.
Having both these topics covered by a single tag seems unhelpful, since they are unrelated.
Both terms are valid in reference to either concept, but in my experience the word "shebang" seems to be more popular in reference to Unix shebangs and the word "hashbang" seems to be more popular in reference to URL hashbangs.
Shall we retag all Unix questions currently tagged "hashbang" as "shebang", instead, and then modify the Wiki summary of "hashbang" to indicate that it should only be used for URL hashbangs, not Unix shebangs?
#!
was at the time mainly used in Unix and thus known as a shebang, and anyone with experience in the latter could potentially have the same question.#!/usr/bin/env
trick, historical trivia (csh
script detection before#!
), and some related skills like recognizing error messages from different shells so you can diagnose a failed#!
[shebang]
altogether and replaced with the more-current[hashbang]
?[octobang]