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.

Certifications & exams

Which exam comes next?

You can already practise for 51 exams, and 16 are up for a vote. See all certifications with their official information, cast your vote or suggest your exam.

See all certifications