Skip to content
XK0-006
Automation, Orchestration, and Scripting
easy
Question 1 of 16

What is the purpose of the shebang line #!/bin/bash at the very first line of a shell script?

AIt defines a comment block describing the script's purpose
BIt specifies the interpreter the operating system should use to execute the script
CIt sets the PATH environment variable for the script
DIt marks the file as executable

Educational Content — CertQnA practice questions are written against official exam objectives, covering the same domains tested on the real exam. All content is original and independent — not actual exam questions, not affiliated with any certification vendor. Learn more about our content policy

Discussion

Be the first to share your understanding of this concept

⚠️ Discussion is for concept clarification only. Do not share or request actual exam questions or answers.

Sign in to join the discussion