performance
easy
Apply
file-ops
2 points
Question 27. CSCD240-E1-A
Remove empty subdirectory tmp under /home/ssteiner. You are in home dir.
Work the drill
Answer on paper or in a terminal before revealing the ideal answer.
Ideal answer
rmdir tmp
Acceptable alternatives: ["rmdir ~/tmp", "rm -r tmp", "rm -d tmp"]
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.
rm tmp
Misconception. rm refuses on directories.
Remedy. Distinguish rm, rmdir, rm -r, rm -d.
Authority mappings
Hover any chip for the mapping justification; click to open the authority record.
DCWF roles:
IT-451 System Administrator
DCWF tasks:
T0136
KU outcomes:
CD-OSC-O2
NCAE errors:
SMB Read / failure: SMB operation failed: [Errno .SMB Write / failure: SMB operation failed: [Errno.SMB Read / partial: SMB operation failed: Failed .SMB Write / failure: SMB operation failed: [Errno.SMB Read / failure: SMB operation failed: [Errno .SMB Write / failure: SMB connection failed: proto.
Course-artifact links
Lectures
- CSCD240-S26-L02. Shell basics, navigation, file type identification, which
Lab questions
- CSCD240-S26-LAB1: Copy a file with cp, rename it with mv, delete it with rm.
CTF challenges
- 00 Navigation & Files: Empty Rooms Only