ExamGecko
Question list
Search
Search

Question 20 - 102-500 discussion

Report
Export

Which of the following are requirements in order to run a shell script like a regular command from anywhere in the filesystem? (Choose THREE correct answers.)

A.
The user issuing the command must be in the group script.
Answers
A.
The user issuing the command must be in the group script.
B.
The script file must be found in the $PATH.
Answers
B.
The script file must be found in the $PATH.
C.
The script file must have the executable permission bit set.
Answers
C.
The script file must have the executable permission bit set.
D.
The script must begin with a shebang-line (#!) that points to the correct interpreter.
Answers
D.
The script must begin with a shebang-line (#!) that points to the correct interpreter.
E.
The file system on which the script resides must be mounted with the option scripts.
Answers
E.
The file system on which the script resides must be mounted with the option scripts.
Suggested answer: B, C, D
asked 18/09/2024
Arnaud Dutel
31 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first