How to insert Bash shebang into a script?


Dear all,

I can never remember the right usage of the Bash shebang.

And maybe I am not alone. That’s why I am asking for some tips. :slight_smile:

How can I best insert the Bash shebang into a newly created script using Atom?

Are there some packages that provide me with a menu entry to insert the shebang, for instance?




The language-shellscript package, has snippets for a few different standard shebang lines. You could use those.


Thank you!

This solved my question. :slight_smile: