performance
easy
Apply
history
2 points
Question 47. CSCD240-E1-B
Re-run the previous command with sudo prepended without retyping.
Work the drill
Answer on paper or in a terminal before revealing the ideal answer.
Ideal answer
sudo !!
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.
sudo (last)
Misconception. Shell has no $LAST by default.
Remedy. !! is the history expansion for last command.
Authority mappings
Hover any chip for the mapping justification; click to open the authority record.
DCWF roles:
IT-411 Technical Support Specialist
DCWF tasks:
T0295
KU outcomes:
CD-BSP-O1
NCAE errors:
SSH Login / failure: Failed to connect to host: IPSSH Login / partial: The following users failed t.SSH Login / partial: The following users failed t.
Course-artifact links
Lectures
- CSCD240-S26-L04. Command history, man pages, help system, history file
CTF challenges
- 01 Shell & Help: Oops, Need Sudo