Asked • 06/04/19

Why do you need to put #!/bin/bash at the beginning of a script file?

I have made [Bash][1] scripts before and they all ran fine without this at the beginning. What's the point of putting it in? Would things be any different? Also, how do you pronounce `#`? I know that `!` is pronounced as "bang." How is `#!` pronounced? [1]:

1 Expert Answer


Dibyendu D. answered • 02/21/20

4.8 (64)

More than 8 years of experience with Unix/Linux Operating Systems

Still looking for help? Get the right answer, fast.

Ask a question for free

Get a free answer to a quick problem.
Most questions answered within 4 hours.


Find an Online Tutor Now

Choose an expert and meet online. No packages or subscriptions, pay only for the time you need.