Which of the following commands directly execute the instructions from the file /usr/local/bin/runme.sh without starting a subshell?

From a Bash shell, which of the following commands directly execute the instructions from the file /usr/local/bin/runme.sh without starting a subshell? (Choose two.)
A. source /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
E. run /usr/local/bin/runme.sh

Download Printable PDF. VALID exam to help you PASS.

2 thoughts on “Which of the following commands directly execute the instructions from the file /usr/local/bin/runme.sh without starting a subshell?

    1. You are wrong. Both B and C options are runned into a subshell. A and D are runned into the current shell (so these are the correct answer). E doesn’t exist.

Leave a Reply

Your email address will not be published. Required fields are marked *


The reCAPTCHA verification period has expired. Please reload the page.