LPI
102-400 · Question #101
102-400 Question #101: Real Exam Question with Answer & Explanation
Sign in or unlock 102-400 to reveal the answer and full explanation for question #101. The question stem and answer options stay visible for context.
Question
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.)
Options
- AThe user issuing the command must be in the group script.
- BThe script file must be found in the $PATH.
- CThe script file must have the executable permission bit set.
- DThe script must begin with a shebang-line (#!) that points to the correct interpreter.
- EThe file system on which the script resides must be mounted with the option scripts.
Unlock 102-400 to see the answer
You've previewed enough free 102-400 questions. Unlock 102-400 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.