performance
easy
Apply
alias
2 points
Question 44. CSCD240-E1-B
Alias lsm = ls -lah --sort=time.
Work the drill
Answer on paper or in a terminal before revealing the ideal answer.
Ideal answer
alias lsm='ls -lah --sort=time'
Acceptable alternatives: ["alias lsm=\"ls -lah --sort=time\""]
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.
alias lsm = 'ls -lah --sort=time'
Misconception. Whitespace around =.
Remedy. No spaces in bash assignment.
Authority mappings
Hover any chip for the mapping justification; click to open the authority record.
DCWF roles:
IT-451 System Administrator
DCWF tasks:
T0063
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-L07. I/O redirection, aliases, source, .bashrc, env
Lab questions
- CSCD240-S26-LAB4: alias ll='ls -la'. Add it to ~/.bashrc. Show source ~/.bashrc.
CTF challenges
- 04 Environment & Patterns: Shortcut Maker