essay
medium
Understand
help-system
2 points
Question 32. CSCD240-E1-A
Explain man and --help. When to use each?
Work the drill
Answer on paper or in a terminal before revealing the ideal answer.
Ideal answer
man opens the manual page: full reference documentation (synopsis, options, exit codes, examples). --help prints a short usage summary. Use man for thorough reference; --help for quick flag reminder.
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.
Same thing, different syntax
Misconception. Misses depth/scope difference.
Remedy. Show man ls vs ls --help side-by-side — one is pages, one is lines.
man is for developers, --help for users
Misconception. Inaccurate distinction.
Remedy. Both tools are for anyone; scope differs (thorough vs quick).
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
Lab questions
- CSCD240-S26-LAB3: Compare man ls to ls --help. Use which ls.
CTF challenges
- 01 Shell & Help: RTFM (Respectfully)