010-160 Exam QuestionsBrowse all questions from this exam

010-160 Exam - Question 71


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

Show Answer
Correct Answer: ABE

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.

Discussion

16 comments
Sign in to comment
DjerodOptions: AB
Jul 31, 2020

A, B are correct.

MWUOptions: AB
Aug 6, 2020

A& B is the correct answer. E is for a program written in C++, Java , etc

RedCloudOptions: AB
Nov 22, 2020

E is not correct because scripts are interpreted, not compiled, as the examples by MWU show.

h0stOptions: AB
Jan 9, 2021

A, B 100% correct

Allan85Options: AB
Feb 20, 2021

A,B correct answer

Wes_60Options: AB
Apr 17, 2021

A and B are correct

DS1982Options: AB
Jun 24, 2021

There is no way B is not one of the right answers, with A ofc

TheExaminerBotOptions: AB
Oct 7, 2022

Shell scripts are not compiled.

RouterOptions: AB
Nov 17, 2022

correct answer is A,B

AndrewGrassoOptions: AB
Oct 23, 2023

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

mikymouseOptions: AB
Mar 15, 2021

So why does it say A E if A B is correct

JRossJ
Sep 4, 2021

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.

DanYendler2014Options: AB
Dec 30, 2021

#! 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.

shoshaOptions: AB
Jan 16, 2022

A & B are correct.

NotnotatacoOptions: AB
May 25, 2022

A,B have to be the right answer.

NabusharOptions: AB
Jul 1, 2023

A, B is correct