Which of the following are requirements in order to run a shell script like a regular command from anywhere in the filesystem?
A) The user issuing the command must be in the group script.
B) The script file must be found in the $PATH.
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.
E) The file system on which the script resides must be mounted with the option scripts.
Correct Answer:
Verified
Q19: The X11 configuration file xorg.conf is grouped
Q21: Which commands can be used to change
Q24: To prevent a specific user from scheduling
Q83: Each entry in a crontab must end
Q85: When the command echo
Q88: What is NOT contained in the locale
Q89: How is a display manager started?
A) It
Q94: Which command can be used to delete
Q113: Why is the correct configuration of a
Q170: What is the purpose of the file
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents