# A network engineer is working on a bash script in order to automate some mundane tasks needed by the department. Why would the engineer add a she-bang (#!) to the top of the script as shown: #!/bin/bash

IT Questions BankCategory: DevNetA network engineer is working on a bash script in order to automate some mundane tasks needed by the department. Why would the engineer add a she-bang (#!) to the top of the script as shown: #!/bin/bash

Question:
A network engineer is working on a bash script in order to automate some mundane tasks needed by the department. Why would the engineer add a she-bang (#!) to the top of the script as shown:

#!/bin/bash

• The script file has specific commands that are preceded by the exclamation mark (!) and should not be executed.
• The script file has specific commands that are preceded by the pound sign (#) and should not be executed.
• The commands within the script fie are to have the output stored in the /bin/bash directory.
• The script file has commands that need to be run in the bash shell.

More Questions: DevNet Associate – Practice Final Exam Answers