What is the significant of using #!/bin/bash in the starting of bash script? Can we write a bash script without #!/bin/bash ?
            Asked
            
        
        
            Active
            
        
            Viewed 1.0k times
        
    -2
            
            
        - 
                    2Google for shebang: https://en.m.wikipedia.org/wiki/Shebang_(Unix) – MrTux Aug 27 '18 at 07:12
1 Answers
6
            This line is called shebang. It’s a ‚magic‘ line telling the program loader (kernel) how to execute a script on unixoid systems.
 
    
    
        MrTux
        
- 32,350
- 30
- 109
- 146
