performance
easy
Apply
shell-compound
2 points
Question 38. CSCD240-E1-C
Write the separator so both commands run regardless of success, then example date and hostname.
Work the drill
Answer on paper or in a terminal before revealing the ideal answer.
Ideal answer
; separator; example: date; hostname
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.
&& with date && hostname
Misconception. && requires first to succeed.
Remedy. Read "regardless of success".
Authority mappings
Hover any chip for the mapping justification; click to open the authority record.
DCWF roles:
IT-451 System Administrator
DCWF tasks:
T0498
KU outcomes:
CD-BSP-O1
Course-artifact links
Lectures
- CSCD240-S26-L07. I/O redirection, aliases, source, .bashrc, env
CTF challenges
- 03 I/O & Pipelines: Two for One