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.)
A
source /usr/local/bin/runme.sh
Correta
B
. /usr/local/bin/runme.sh
Correta
C
/bin/bash /usr/local/bin/runme.sh
D
/usr/local/bin/runme.sh
E
run /usr/local/bin/runme.sh
Explicação Oficial / Explicações da Comunidade
The source command and its alias, the dot (.), execute a script within the current shell environment. Other methods like calling the script by path or using bash script.sh create a new child process (subshell).