#! /bin/sh line in a shell script

Guangliang He ghe at nucthy.physics.orst.edu
Tue Jan 31 09:48:37 AEST 1989


I have seen number of times that a shell script file begining with a line
#! /bin/sh. What does that mean? 

I know that any shell script file begining with a # sign is treated as
a c-shell script and the following content of that line is treated as
comment.

Please email to me. Thanks in advance.
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
                                   *                                   
USMAIL:   Guangliang He            *   INTERNET: ghe at PHYSICS.ORST.EDU  
          Department of Physics    *                                   
          Oregon State University  *                                   
          Corvallis, OR 97331      *   PHONE:    (503) 754-4631        
                                   *                                   
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *



More information about the Comp.unix.questions mailing list