Linux Essentials (010-160) — Question 16

Which of the following statements are true regarding a typical shell script? (Choose two.)

Answer options

Correct answer: A, B

Explanation

Options A and B are correct because a typical shell script must have executable permissions and should begin with the #! sequence to indicate the interpreter. Options C and D are incorrect as shell scripts can be located in various directories, not just those specified. Option E is false as shell scripts are interpreted, not compiled into binary files.