Project — Linux Operations Toolkit¶
Advanced portfolio build — a cohesive toolkit an SRE or Linux admin could drop onto bastions.
Project Overview¶
Goal: Ship a versioned toolkit (rebash-ops) with subcommands for health, triage, audit, and report generation.
Deliverable for your portfolio:
- CLI entrypoint:
rebash-ops <command> - Modules:
health,triage,audit-ssh,audit-firewall,report - Shared logging and exit taxonomy
- Packaging notes (tarball or simple
install.sh) - Tests or a
validate.shsmoke suite
Estimated cost: £0.
Goals¶
- Subcommands share libraries (no copy-paste thresholds)
-
triageprints ordered first commands + live snippets (uptime, top processes, failed units) -
audit-ssh/audit-firewallemit pass/fail findings -
reportbuilds a dated bundle underout/ - README includes threat model notes (what the toolkit does not do)
Stack¶
| Piece | Choice |
|---|---|
| Language | Bash (Python optional for report formatting) |
| Layout | bin/rebash-ops, lib/*.sh, config/, out/, tests/ |
| Scheduling | Optional systemd timer calling report |
Prerequisites¶
- Security and ops modules: SSH Hardening and Firewalls, Troubleshooting, Production Hardening
- Labs: Ops Toolkit, Firewall Hardening, Performance Troubleshooting
- Project: Server Health Dashboard
Milestones¶
Milestone 1 — CLI skeleton¶
Argument parsing (getopts or simple case), --help, global --config.
Milestone 2 — Health + triage¶
Integrate checks; triage mode is read-only and fast (<30s typical).
Milestone 3 — Audits¶
Parse sshd -T and ufw status (or firewall-cmd); never change config unless --apply (default dry-run).
Milestone 4 — Release¶
install.sh, sample config, smoke tests, CHANGELOG, semantic version in --version.
Success criteria¶
rebash-ops healthandrebash-ops triagerun on a clean Ubuntu VM- Audits are dry-run by default
- Another engineer installs via README in under 10 minutes
Related¶
- Capstone: Production Linux Operations Platform
- Cheat sheet: Linux
- Quiz: Linux for Cloud & DevOps Fundamentals