Question

What is the primary purpose of the "shebang" line `#!/bin/bash` at the beginning of a shell script?

A It's a comment indicating the script's version.
B It specifies the interpreter program to be used for executing the script.
C It defines a function named `bash`.
D It sets the script's default environment variables.
E None of the above
Practice Next

Hey! Ask a query

🎓
Think You're Ready for RBI Grade B?
RBI Grade B 2026 Phase 1 Memory Based Paper
  • 200 Questions with Detailed Solutions
  • Section-wise Coverage (GA, English, Quant & Reasoning)