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 two commands that directly execute the instruction from the file /usr/local/bin/runme.sh without starting a subshell are:
B. `. /usr/local/bin/runme.sh`
D. `/usr/local/bin/runme.sh`
Both of these options execute the script in the current shell environment, not in a subshell. The dot `.` (option B) is used as shorthand for the `source` command.
This section is not available anymore. Please use the main Exam Page.101-400 Exam Questions
Log in to ExamTopics
Sign in:
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one.
So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
DuboisNicolasDuclair
1 year, 8 months agodeewetdvjbmnjkjytfdszxc
4 years, 11 months ago