Exam PT0-002 Topic 7 Question 290 Discussion
Actual exam question for CompTIA's PT0-002 exam
Question #: 290
Topic #: 7
Question #: 290
Topic #: 7
When developing a shell script intended for interpretation in Bash, the interpreter /bin/bash should be explicitly specified. Which of the following character combinations should be used on the first line of the script to accomplish this goal?
Suggested Answer: E Vote an answer
Reference:
#!/bin/bash ---# and ! makes this line special because # is used as comment line in bash. ! is called
#!/bin/bash ---# and ! makes this line special because # is used as comment line in bash. ! is called
by Rachel at Jul 27, 2024, 07:14 AM
0
0
0
10
Comments
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
Report Comment
Commenting
You can sign-up / login (it's free).