Multiple choice technology operating systems

inorder to run a shell script by sh command executable permissions should be given to the shell script

  1. True

  2. False

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

The sh command directly reads and executes the script file contents without requiring the execute permission bit to be set. Only direct execution (./script.sh) requires execute permissions. You can run any shell script with 'sh scriptname' regardless of its permission settings.