Multiple choice technology programming languages

What will happen if the specfied shell directive is not present in the path as mentioned in the shell script?

  1. Takes default shell

  2. Prompt error

  3. Fixes the path

  4. None

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

When a shell script's shebang line specifies a shell interpreter that isn't found in the system's PATH, execution fails with an error like 'bad interpreter: No such file or directory'.