nerdexam
Linux_FoundationLinux_Foundation

LFCS · Question #92

LFCS Question #92: Real Exam Question with Answer & Explanation

Sign in or unlock LFCS to reveal the answer and full explanation for question #92. The question stem and answer options stay visible for context.

Submitted by parkjh· Apr 18, 2026Essential Commands

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 LFCS to see the answer

You've previewed enough free LFCS questions. Unlock LFCS 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.

Topics

#Shell scripting#File permissions#PATH variable#Shebang
Full LFCS PracticeBrowse All LFCS Questions