What exactly interpret #!/bin/bash line?
Posted
by vava
on Super User
See other posts from Super User
or by vava
Published on 2010-03-09T01:46:12Z
Indexed on
2010/03/09
1:51 UTC
Read the original article
Hit count: 271
Many scripts in different languages have a #!/bin/bash
header with a path to interpreter, so they can be executed without explicit call to interpreter from command line.
But what exactly reads this line and run the interpreter, is it shell or kernel?
© Super User or respective owner