Post

Module 2: Linux Commands

Module 2: Linux Commands

Module 2: Linux Commands

Week 1: Fundamentals

Category Commands / Topics Key Flags / Notes Exam Expected? Resources
Directory Structure /, /etc, /home, /var, /tmp, /bin, /proc Know what each system dir is for Yes week1_fundamentals
Navigation pwd, cd, ls -lrt (sort by time), -lrth (human sizes) Yes week1_fundamentals
File Operations touch, mkdir, cp, mv, rm rm -rf (caution), cp -r for directories Yes week1_fundamentals
Viewing Files cat, less, head, tail tail -f for live logs, head -n 20 Yes week1_fundamentals
Text Editing nano Ctrl+O save, Ctrl+X exit, Ctrl+K cut line Yes week1_fundamentals
Permissions chmod 755 (rwxr-xr-x), 644 (rw-r–r–), +x execute Yes week1_fundamentals
Searching find, grep find . -name “*.txt”, grep -r “text” /path Yes week1_fundamentals
Pipes & Redirection Pipe: | Redirect: >  » ls -la | grep “.txt” echo “hi” > file.txt Yes week1_fundamentals

Mac Setup (Docker)

Mac users practice SSH & SCP using a Docker container instead of WSL. Full guide: week2_mac_ssh_scp_howto.md

Week 2: System & Remote

Category Commands / Topics Key Flags / Notes Exam Expected? Resources
Process Management ps aux, top, kill kill -9 force kill, top for live view Yes week2_system_admin
Users & Sudo sudo, passwd sudo as root, passwd to change pw Yes week2_system_admin
System Info df -h, du -sh, free -h df = disk free, du = dir size, free = RAM Yes week2_system_admin
Archives tar -czf, tar -xzf -c create, -x extract, -z gzip, -f filename Yes week2_system_admin
Package Management apt update, apt install Always apt update before install Yes week2_system_admin
SSH ssh, ssh-keygen, ssh-copy-id ssh user@host, keygen for passwordless login Yes week2_system_admin · Mac howto
File Transfer scp scp file.txt user@host:/remote/path/ · SCP uses -P (uppercase) for port Yes week2_system_admin · Mac howto

Study Resources

# Resource Name Type URL
1 Official Study Guide Guide link
1b Quick Reference (cheat sheet) Guide link
2 YouTube: Linux for Beginners Video link
3 YouTube: Linux Commands Video link
4 YouTube: Linux Tutorial Video link
5 YouTube: Linux Crash Course Video link
6 YouTube: Linux Full Course Video link

Videos & Course Material

Grads: add your own video links here via PR! See Contributing.

Topic Video Contributed by
add topic add YouTube link your name

This post is licensed under CC BY 4.0 by the author.