Script basics · Question 1 of 12
Which first line makes a script run with Bash?
1 answer is correct. Easy Created with AI
Show answer
Answer
- D #!/bin/bash
Explanation
The first line starts with the characters #! followed by the full path of the interpreter. Without the exclamation mark or in the wrong order, the line is just a comment.