What is a shebang line?



What is a shebang line?..

Answer / Arun Tomar

A shebang line, also known as a hashbang, is the first line in a script or executable file that tells the system which interpreter to use to execute the script. It consists of `#!` followed by the path to the interpreter and an optional additional argument. For example, a shebang line for a bash script looks like this: `#!/bin/bash`.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Linux General Interview Questions

Hi All we are porting are application from linux 2.4 to 2.6 .Please let me know what kind of manual balck box testing we can use to test application and how.

1 Answers  


How to rename a file in linux?

1 Answers  


What is the maximum length for a file name in Linux?

1 Answers  


How do I send email with linux?

1 Answers   Arigo Infotech,


Are there any linux phones?

1 Answers  


What are some common things between linux & unix?

1 Answers  


How do you check for processes started by user ‘pat’?

1 Answers  


What is linux shell?

1 Answers  


How can you login to another system in your network from your system?

1 Answers  


What is sem_post?

1 Answers  


What are hard links?

1 Answers  


How to find where a file is stored in linux?

1 Answers  


Categories