trace_multi
medium
Apply
navigation
2 points
Question 1. CSCD240-E1-B
pwd=/home/operator/target/foothold, home=/home/operator. For each cd: cd, cd ../pivot, cd ~/intel, cd ../../.., cd /tmp
Work the drill
Answer on paper or in a terminal before revealing the ideal answer.
Ideal answer
cd → /home/operator; cd ../pivot → /home/operator/target/pivot; cd ~/intel → /home/operator/intel; cd ../../.. → /home; cd /tmp → /tmp
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.
cd ~/intel → /intel
Misconception. Student strips the home prefix from ~ instead of expanding it.
Remedy. Draw ~ = $HOME = /home/operator. Walk the expansion step-by-step.
cd ../../.. → / (root)
Misconception. Student over-counts parent directories.
Remedy. Count depth: /home/operator/target/foothold = 4 levels; ../../.. = 3 = /home.
Authority mappings
Hover any chip for the mapping justification; click to open the authority record.
DCWF roles:
CE-551 Red Team Specialist
DCWF tasks:
T0418
Course-artifact links
Lectures
- CSCD240-S26-L02. Shell basics, navigation, file type identification, which
Lab questions
- CSCD240-S26-LAB2: After cd ~/projects/lab1; cd ../..; pwd?
CTF challenges
- 00 Navigation & Files: Two Dots, Twice
- 00 Navigation & Files: Relative Hop