r/shell • • Sep 23 '24

why do bash scripts start with #!

Hi, I'm just curious: what does this mean?

I know it's telling the machine to use bash, but like, why is it a "#!" for example? How/why was it decided that way?

6 Upvotes

8 comments sorted by

View all comments

Show parent comment

3

u/neilmoore Sep 24 '24

a typography thing

Octothorpe bang!