Level 6 · Cloud Computing, DevOps and Cybersecurity · Course 6.1 Linux and Servers
Module 64: Linux Commands
Goal: work confidently on a Linux system from the terminal: manage files, users and groups, understand and set permissions, control processes, and combine commands with pipes and simple scripts.
You'll need: your Linux lab from Module 63 (with a fresh snapshot).
Lessons
- 1Working with files15–25 minutes✓
- 2Users and groups15–25 minutes✓
- 3Permissions15–25 minutes✓
- 4Processes15–25 minutes✓
- 5Pipes, redirection and scripts15–25 minutes✓
🛠️Module practice: Project A, part 2, an admin toolkit
In your lab:
- A
deployuser andcrmgroup; a/srv/crmfolder with correct ownership and permissions; a600secrets file. - A backup script with
set -euo pipefail, scheduled with cron. - A
report.shscript that prints disk space, memory, the top 5 processes by memory, and listening ports. - Notes in
lab-notes.md. Commit the scripts to your Git repository.
✅Module check
Explain in a few sentences, in your own words:
What are the essential Linux skills for looking after a server?
Show a good answer
A good answer mentions: managing files and folders carefully (no recycle bin; read rm -rf twice), reading and
searching logs with less, tail -f and grep; users and groups with least privilege, using sudo instead of working as
root, and services running as their own users; permissions (owner/group/others, read/write/execute, 600 for secrets,
never 777); finding and stopping processes and checking ports; and combining commands with pipes, redirection and safe
scripts (set -euo pipefail, quoted variables) scheduled with cron.
📝Module quiz
10 questions · 10 marks each · 100 marks in all · pass mark 70% · retry as often as you like ·
