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.)

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.
B . The script file must be found in the $PAT
D . The script file must have the executable permission bit set.
E . The script must begin with a shebang-line (#!) that points to the correct interpreter.
F . The file system on which the script resides must be mounted with the option scripts.

Answer: B,C,D

Latest 102-500 Dumps Valid Version with 194 Q&As

Latest And Valid Q&A | Instant Download | Once Fail, Full Refund

Subscribe
Notify of
guest
2 Comments
Inline Feedbacks
View all comments
Francesco
Francesco
2 years ago

B, D, E – “THREE correct answers”

Please, correct.

nico.bacardi
nico.bacardi
3 years ago

B . The script file must be found in the $PATH not “$PAT”