Question: To make a Bash script named script.sh executable, what should you run?

  1. exec script.sh
  2. chmod +x script.sh
  3. bash script.sh
  4. source script.sh

Answer: The correct answer of the above question is Option B:chmod +x script.sh