nerdexam
LPI

101-400 · Question #24

From a Bash shell, which of the following commands directly executes the instruction from the file /usr/local/bin/runme.sh without starting a subshell? (Please select TWO answers.)

The correct answer is A. source /usr/local/bin/runme.sh B. . /usr/local/bin/runme.sh. See the full explanation below for the reasoning.

Question

From a Bash shell, which of the following commands directly executes the instruction from the file /usr/local/bin/runme.sh without starting a subshell? (Please select TWO answers.)

Options

  • Asource /usr/local/bin/runme.sh
  • B. /usr/local/bin/runme.sh
  • C/bin/bash /usr/local/bin/runme.sh
  • D/usr/local/bin/runme.sh
  • Erun /usr/local/bin/runme.sh

How the community answered

(28 responses)
  • A
    82% (23)
  • C
    4% (1)
  • D
    11% (3)
  • E
    4% (1)

Community Discussion

No community discussion yet for this question.

Full 101-400 Practice