NCAE Mapping Hub
Overview Scoreboard Data Roles Exercised Checklists Lessons Skill Drills Practice Terminal Progress
performance easy Apply env 2 points

Question 46. CSCD240-E1-A

Display every environment variable currently defined in your shell.

Work the drill

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

Ideal answer
env
Acceptable alternatives: ["printenv", "export -p"]

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.

echo $*
Misconception. Prints positional args, not env.
Remedy. Distinguish $* (args) from env.
set
Misconception. set prints shell variables AND env vars — more than env does.
Remedy. Accept with note.

Authority mappings

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

DCWF tasks: T0498
KU outcomes: CD-BSP-O1
KU topics: CD-BSP-T8a

Course-artifact links

Lectures

  • CSCD240-S26-L07. I/O redirection, aliases, source, .bashrc, env

Lab questions

  • CSCD240-S26-LAB4: echo $HOME, echo $PATH, echo $USER. Explain each.

CTF challenges

  • 04 Environment & Patterns: Show Me Everything