Explain about shebang?



Explain about shebang?..

Answer / Dharmendra Kumar Verma

A shebang (#!) is a special sequence of characters at the beginning of a script file that tells the system how to execute the script. It typically includes the path of the interpreter to be used, such as '#!/bin/sh' for Bourne shell or '#!/bin/bash' for Bash shell.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Shell Script Interview Questions

What are the different commands available to check the disk usage?

1 Answers  


Which scripting language is best for automation?

1 Answers  


Is bash a shell script?

1 Answers  


how do you write sql queries using shell script for eg:- we have databae table like EMPNO,ENAME,SAL,DEPTNO columns in EMP table how you display EMPNO,SAL FIELDS from emp in SHELL SCRIPT please explain with an example

4 Answers  


How to group the commands in shell scripting?

2 Answers   Polaris,


What are the disadvantages of shell scripting?

1 Answers  


How would you print just the 25th line in a file using smallest shell script?

4 Answers  


How to write a function?

1 Answers  


What lives in a shell?

1 Answers  


how to search for vowels a,e,i,o,u appearing in the same sequence in a file

4 Answers   Amazon,


What are different types of shell?

1 Answers  


What are the default permissions of a file when it is created?

1 Answers  


Categories