Programming and posix - February 2001
February 10, 2001
Solution Symposium
Page 67
hp e3000
programming
and posix
shell interpreters
• the first line of a shell script specifies the interpreter to be
run and the parameters if any, I.e.:
#!/bin/sh
• when a shell script is invoked by the shell or via exec(),
the interpreter program is run with stdin redirected to the
script file