NCAE Mapping Hub
Overview Scoreboard Data Roles Exercised Checklists Lessons Skill Drills Practice Terminal Progress
multiple_choice medium Remember log-follow 2 points

Question 11. CSCD240-E1-C

A log file is continuously updated. Which command shows new lines as written?

Work the drill

Answer on paper or in a terminal before revealing the ideal answer.

Ideal answer
C: tail -f file

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.

A: cat file
Misconception. cat is one-shot; exits after printing.
Remedy. tail -f follows indefinitely.
B: head -f file
Misconception. head has no -f option.
Remedy. -f is tail-exclusive.
D: less file
Misconception. less is interactive; does not auto-follow without pressing F.
Remedy. Press F inside less for follow mode.

Authority mappings

Hover any chip for the mapping justification; click to open the authority record.

DCWF tasks: T0447
KU outcomes: CO-M9-O1