CSCD240-S26-LAB5
Linux Lab 5: Quoting and File Utilities
40 points
Tech stack: git (GitHub Classroom), ssh (port 22), scp, GlobalProtect VPN (vpn.ewu.edu), Ubuntu 24.04 VM on 10.202.12.196, bash 5.x
Authority mappings
Checkpoint 1: Command Substitution
-
1
command substitution
4 pts
Use $(date +%F) inside a string. Also demonstrate backticks.
Checkpoint 2: Single vs Double Quotes
-
1
quoting depth
3 pts
Test NAME=world and all three echo forms.
Checkpoint 3: File Utilities
-
1
wc/head/tail/cut
5 pts
Use wc -l, head -n 5, tail -n 5, cut -d, -f 2 on a CSV.
Checkpoint 4: grep Basics
Checkpoint 5: tar Archives
-
1
tar create/extract
5 pts
tar -czvf backup.tar.gz *.txt. Then tar -xzvf to extract.