Learning outcome 2
Use shell scripting to automate system administration and simple forensic tasks.
Skill drills that assess this outcome
- CSCD240-E1-A-Q15 primary performance env-path Add /opt/tools/bin to PATH for the current shell.
- CSCD240-E1-A-Q25 primary performance alias Create alias ll for long listing with human-readable file sizes.
- CSCD240-E1-A-Q31 primary essay quoting var="Stu Steiner". A) echo "Hello $var" B) echo 'Hello $var'. Explain difference and output.
- CSCD240-E1-A-Q45 primary performance command-substitution Print "Backup taken on <today>" using $(date +%Y-%m-%d) as the date.
- CSCD240-E1-B-Q15 primary performance redir Send only stderr of "scan /etc/shadow" to errors.log; leave stdout on terminal.
- CSCD240-E1-B-Q39 primary essay quoting var="Red Team". A) echo "Go $var" B) echo 'Go $var'. Output + explain difference.
- CSCD240-E1-B-Q41 primary performance command-subst Print "Backup taken on <today>" using $(date +%F).
- CSCD240-E1-C-Q06 primary multiple_choice cmd-subst Recommended modern syntax for command substitution?
- CSCD240-E1-A-Q28 secondary performance globbing Files: data, data1, data12, data2. Display only data1 and data12 via ls.