Why put in script on top ‘#!/bin/bash’?


스크립트를 실행할때 실행되는 프로그램을 지정하기위한 부분.
‘쉬뱅(shebang)’이라고 읽는단다. (는 유닉스시절, 요즘은 ‘해쉬뱅(hashbang)’이라고 읽는듯)

* `#!/bin/sh` — Execute the file using sh, the Bourne shell, or a compatible shell
* `#!/bin/csh -f` — Execute the file using csh, the C shell, or a compatible shell, and suppress the execution of the user’s `.cshrc` file on startup
* `#!/usr/bin/perl -T` — Execute using Perl with the option for *taint* checks


[Shebang (Unix) – Wikipedia, the free encyclopedia](https://en.wikipedia.org/wiki/Shebang_(Unix))

[linux – Why do you need to put #!/bin/bash at the beginning of a script file? – Stack Overflow](http://stackoverflow.com/questions/8967902/why-do-you-need-to-put-bin-bash-at-the-beginning-of-a-script-file)