NCAE Mapping Hub
Overview Scoreboard Data Roles Exercised Checklists Lessons Skill Drills Practice Terminal Progress
performance medium Apply search-find 2 points

Question 13. CSCD240-E1-A

Somewhere in the filesystem there is a file config.ini. Locate it.

Work the drill

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

Ideal answer
find / -name config.ini
Acceptable alternatives: ["find / -name \"config.ini\" 2>/dev/null", "sudo find / -name config.ini", "locate config.ini"]

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.

find config.ini
Misconception. Missing starting directory — find needs a path arg.
Remedy. Teach: "find" without path = current dir (.) which misses rest of filesystem.
grep config.ini /
Misconception. Wrong tool — grep searches inside files for text patterns.
Remedy. Distinguish: find = locate files by metadata; grep = search contents.
which config.ini
Misconception. which only searches PATH for executables.
Remedy. Draw the tool matrix: where vs what vs which vs locate vs find.

Authority mappings

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

DCWF tasks: T0207 T0708
KU outcomes: CD-OSC-O2CO-M9-O1
KU topics: CD-OSC-T5

Course-artifact links

Lectures

  • CSCD240-S26-L03. Files, directories, file command, wildcards, viewing

Lab questions

  • CSCD240-S26-LAB5: grep -i, grep -n, grep -v, grep -c, grep -r on a log file.