First of all in shell script # means that the line is commented. This way shell intepretor dont consider that line for compilation.
Also that is the syntax for shebang line - http://linuxshellaccount.blogspot.com/2007/12/shebang-line-introduction-to-porting.html Thanks Vineeth On Thu, Sep 2, 2010 at 9:57 PM, Raj N <[email protected]> wrote: > Why do we specifically use #! symbol at the beginning of your scripts? > Why not %! or $! or some random symbol? > > -- > You received this message because you are subscribed to the Google Groups > "Algorithm Geeks" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]<algogeeks%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/algogeeks?hl=en. > > -- You received this message because you are subscribed to the Google Groups "Algorithm Geeks" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/algogeeks?hl=en.
