Question 130
An operator follows this instruction: Prepend "$HOME/bin" to PATH and export PATH. For the task described as "PATH executable lookup", what is the most accurate expected result?
Explanation
Correct Answer
Correct consequence of Prepend "$HOME/bin" to PATH and export PATH. This outcome explains its use for PATH executable lookup.
Incorrect Answers
This outcome belongs to temporary assignment environment and would follow Prefix that command with LANG=C on the same command line; it is not the principal result of Prepend "$HOME/bin" to PATH and export PATH.
This outcome belongs to last exit code inspection and would follow Run echo $? immediately after the command; it is not the principal result of Prepend "$HOME/bin" to PATH and export PATH.
This outcome belongs to home directory tilde expansion and would follow Use ~/Documents as the path in the shell; it is not the principal result of Prepend "$HOME/bin" to PATH and export PATH.