Linux Operations Reference

Overview

Production-grade Linux operations reference documentation covering commands, system administration, networking, storage, security, containers, and troubleshooting.

Primary Documentation: domus-linux-ops (linux-ops)

Scope

Comprehensive coverage of Linux operations for:

  • Daily command-line work

  • System administration tasks

  • Network configuration and troubleshooting

  • Storage management (LVM, Btrfs, ZFS, LUKS)

  • Security hardening and auditing

  • Container operations (Podman, Docker)

  • Desktop environment (Wayland, Hyprland)

  • Distribution-specific procedures (Arch, RHEL, Debian)

Documentation Structure

Reorganized into hierarchical subsections (2026-02-09):

Command Mastery

commands/
├── text/           # sed, awk, text processing
├── shell/          # Shell patterns, I/O redirection
├── files/          # Search, file operations
├── editors/        # Vim essentials
└── tools/          # gopass, specialized tools

System Administration

server/
├── systemd/        # Services, timers, deep dive
├── logging/        # journalctl
└── tuning/         # Performance optimization

Networking

networking/
├── connectivity/   # nmcli, ss, ip
├── firewall/       # firewalld, nftables
└── analysis/       # tcpdump, netcat

Storage

storage/
├── volumes/        # LVM, device management
├── filesystems/    # Btrfs, ZFS
└── encryption/     # LUKS

Security

security/
├── mac/            # SELinux, AppArmor
├── audit/          # auditd
├── isolation/      # Namespaces
└── hardening/      # SSL/TLS, system hardening

Containers

containers/
├── runtime/        # Podman, Docker
└── integration/    # systemd integration, rootless

Virtualization

virtualization/
└── kvm/            # KVM/QEMU, libvirt, networking

Desktop

desktop/
├── wayland/        # Hyprland, Wayland essentials
├── standards/      # XDG
└── multimedia/     # PipeWire audio

Troubleshooting

troubleshooting/
├── hardware/       # Input devices, display, audio
├── system/         # Boot issues, performance
└── network/        # Network connectivity

Key Documents

Production-Grade Rewrites (2026-02-09)

These documents were completely rewritten with real examples and production scenarios:

  • sed Deep Dive (linux-ops) - Preview-before-apply pattern, escaping, real-world examples

  • Vim Essentials (linux-ops) - Modal editing, practical workflows

  • Shell Patterns (linux-ops) - Heredocs, parameter expansion, brace expansion

Cross-Site References

domus-linux-ops links to and from:

  • domus-infra-ops - Infrastructure runbooks reference Linux commands

  • domus-ise-linux - Domain join, 802.1X config uses shell patterns

  • domus-secrets-ops - gopass integration

Quality Standards

Preview Before Apply

All destructive commands show preview first:

# Preview what sed will change
sed -n 's/old/new/gp' file.conf

# Then apply
sudo sed -i 's/old/new/g' file.conf

Separate Code Blocks

Independent commands separated for copy-paste verification:

# Step 1
command1
# Step 2
command2

Real Examples

Every placeholder followed by concrete example:

vault write pki_int/issue/domus-client common_name="<hostname>.inside.domusdigitalis.dev"
Example (modestus-aw)
vault write pki_int/issue/domus-client common_name="modestus-aw.inside.domusdigitalis.dev"

Distribution Coverage

Family Distributions Key Docs

Arch

Arch Linux, EndeavourOS

pacman, AUR, mirrors, maintenance

RHEL

RHEL, Rocky, Alma, Fedora

dnf, subscription, EPEL

Debian

Debian, Ubuntu

apt, PPAs, maintenance