performance
medium
Apply
env-path
2 points
Question 42. CSCD240-E1-B
Append /opt/tools/bin to PATH for current shell.
Work the drill
Answer on paper or in a terminal before revealing the ideal answer.
Ideal answer
export PATH=$PATH:/opt/tools/bin
Misconception bank
Each row below is a plausible wrong answer, the thinking that produces it, and the remedy that corrects the misconception. These are the foundation of the multiple-choice framing and the targeted feedback a student receives after answering.
export PATH=/opt/tools/bin
Misconception. Overwrites PATH entirely.
Remedy. Classic mistake; always APPEND.
Authority mappings
Hover any chip for the mapping justification; click to open the authority record.
DCWF roles:
IT-451 System Administrator
DCWF tasks:
T0418
KU outcomes:
CD-BSP-O1
NCAE errors:
WWW Content / failure: Failed to connect to hostWWW Content / timeout: TimeoutWWW Content / failure: Website cannot be reachedSSH Login / failure: Failed to connect to host: IPSSH Login / partial: The following users failed t.SSH Login / partial: The following users failed t.
Course-artifact links
Lectures
- CSCD240-S26-L07. I/O redirection, aliases, source, .bashrc, env
Lab questions
- CSCD240-S26-LAB4: export PATH=$PATH:/opt/mybin. Verify the change.