performance
medium
Understand
type-vs-which
2 points
Question 49. CSCD240-E1-A
Tell if cd is a builtin, alias, function, or external program.
Work the drill
Answer on paper or in a terminal before revealing the ideal answer.
Ideal answer
type cd
Acceptable alternatives: ["type -a cd", "command -V cd"]
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.
which cd
Misconception. which searches PATH only — misses builtins, aliases, functions.
Remedy. Use type for shell-level; which for PATH-only.
whereis cd
Misconception. Returns man page paths; also misses shell context.
Remedy. Three tools, three purposes.
Authority mappings
Hover any chip for the mapping justification; click to open the authority record.
DCWF roles:
IT-451 System Administrator
DCWF tasks:
T0063
KU outcomes:
CD-OSC-O1
Course-artifact links
Lectures
- CSCD240-S26-L04. Command history, man pages, help system, history file
CTF challenges
- 01 Shell & Help: Identity Check