Which of the following statements are true regarding a typical shell script? (Choose two.)
Which of the following statements are true regarding a typical shell script? (Choose two.)
A typical shell script has the executable permission bit set, making it possible for the script to be run directly as a command. Additionally, a typical shell script starts with the #! sequence, commonly known as a shebang, which specifies the interpreter that should be used to run the script. Shell scripts are not compiled into binary files; they are interpreted. Additionally, there is no standard directory where all shell scripts must be located, as they can be stored in any directory according to the user's preference. Hence, the correct answers are A and B.
A, B are correct.
A& B is the correct answer. E is for a program written in C++, Java , etc
E is not correct because scripts are interpreted, not compiled, as the examples by MWU show.
A, B 100% correct
A,B correct answer
A and B are correct
There is no way B is not one of the right answers, with A ofc
Shell scripts are not compiled.
correct answer is A,B
Regarding a typical shell script, the following statements are true: It has the executable permission bit set 1. It starts with the two character sequence #! (called a shebang) that specifies the interpreter to be used to execute the script 12. Therefore, options A and B are correct. Shell scripts are not compiled into binary files. Instead, they are interpreted by the shell program 1. Also, there is no standard location for shell scripts. They can be located anywhere in the file system, depending on the user’s preference and requirements
So why does it say A E if A B is correct
I think the premise on these choose two questions is that there might be three right answers. This is the second question where there are three possible correct answers out of the five.
#! can be omitted if the script consists only of a set of generic system commands, using no internal shell directives. But is that *typical*? is still say B.
A & B are correct.
A,B have to be the right answer.
A, B is correct