AI for Linux Admins
Diagnose, automate, and harden Linux servers using AI assistants. Ubuntu, RHEL, Debian, Rocky.
Prompts
- Intermediate
CPU Frequency Governor & Power/Performance Tuning Prompt
Audit and tune Linux CPU frequency scaling (cpufreq governors, scaling driver, turbo/C-states, energy-performance bias) to balance latency, throughput, and power for a given workload.
- Claude
- ChatGPT
Open prompt - Advanced
Dirty Page Writeback & VM Tuning Review Prompt
Review Linux dirty-page writeback tunables (vm.dirty_ratio, dirty_background_ratio, dirty_expire/writeback centisecs, vfs_cache_pressure) against a workload and storage backend to smooth I/O stalls and fsync latency.
- Claude
- ChatGPT
Open prompt - Advanced
Linux Block I/O Scheduler Selection & Tuning Review Prompt
Review the per-device block I/O scheduler (mq-deadline, bfq, kyber, none) and queue tunables against a workload and storage type, and recommend a persistent, verifiable configuration.
- Claude
- ChatGPT
Open prompt - Advanced
Linux Policy Routing & Source-Based Routing Design Prompt
Design and validate Linux policy-based routing (multiple routing tables, ip rule, source routing) for multi-homed or multi-gateway hosts, with a dry-run-first plan that avoids cutting your own SSH session.
- Claude
- ChatGPT
Open prompt - Advanced
mdadm Degraded Software RAID Recovery Planning Prompt
Diagnose a degraded or failed Linux software RAID array and produce a careful, ordered recovery plan (disk identification, replacement, resync, and verification) before touching any disk.
- Claude
- ChatGPT
Open prompt - Intermediate
OpenSSL TLS Certificate Renewal & Rotation Runbook Prompt
Produce a precise runbook to inspect, renew, and rotate a TLS certificate and private key on a Linux service (CSR, chain assembly, deployment, reload, and verification) without an outage.
- Claude
- ChatGPT
Open prompt - Advanced
SELinux Denial Troubleshooting & Policy Review Prompt
Diagnose SELinux AVC denials and produce a least-privilege fix (correct file contexts, booleans, or a minimal custom module) instead of disabling enforcement, with audit2allow used as a guide rather than a rubber stamp.
- Claude
- ChatGPT
Open prompt - Intermediate
SSH Client Config, Jump Host & Multiplexing Review Prompt
Review and refactor an SSH client configuration (~/.ssh/config) for clean ProxyJump bastion chains, connection multiplexing, key/agent hygiene, and host-key safety across many target hosts.
- Claude
- ChatGPT
Open prompt - Advanced
Transparent HugePages Workload Tuning Review Prompt
Review Transparent HugePages (THP) and explicit hugepage configuration against a workload (databases, JVMs, KVM hosts) and recommend the right setting, with the latency-spike and memory-bloat trade-offs spelled out.
- Claude
- ChatGPT
Open prompt - Advanced
XFS Filesystem Repair & Recovery Planning Prompt
Triage a corrupt or unmountable XFS filesystem and produce a safe, ordered recovery plan (log replay, xfs_repair, metadata dump) without destroying recoverable data.
- Claude
- ChatGPT
Open prompt - Intermediate
Package Integrity Drift Audit (rpm -V / debsums) Prompt
Decode the output of rpm -Va or debsums and separate benign, expected file changes from tampering, corruption, or undocumented manual edits that could break the next patch.
- Claude
- ChatGPT
Open prompt - Advanced
Runtime Capability & Ambient Set Audit (getpcaps) Prompt
Audit what Linux capabilities a running process actually holds across its permitted/effective/inheritable/ambient/bounding sets, and decide whether a service is over-privileged or whether a 'permission denied' is a missing capability.
- Claude
- ChatGPT
Open prompt - Advanced
Linux Kernel Keyring (keyctl) Inspection & Debug Prompt
Inspect and reason about the kernel keyrings (user, session, process, thread, persistent) behind Kerberos tickets, fscrypt keys, NFS/CIFS creds, and dm-crypt — and debug why a key is missing, expired, or not visible to a service.
- Claude
- ChatGPT
Open prompt - Advanced
Shared Library Loader (ld.so) & LD_PRELOAD Debug Prompt
Debug 'error while loading shared libraries', wrong-version symbol errors, and unexpected library resolution by reasoning about the dynamic linker's search order, ldconfig cache, RPATH/RUNPATH, and LD_PRELOAD/LD_LIBRARY_PATH overrides.
- Claude
- ChatGPT
Open prompt - Intermediate
mtr Network Path & Packet Loss Diagnosis Prompt
Turn raw mtr/traceroute output into a clear verdict on where packet loss or latency is actually being introduced along a path — and whether it's real or an ICMP rate-limit mirage.
- Claude
- ChatGPT
Open prompt - Intermediate
nsswitch.conf Name Resolution Order Audit Prompt
Audit /etc/nsswitch.conf to explain why a user, group, hostname, or netgroup resolves (or fails to resolve) the way it does — across files, sss, ldap, systemd, and dns sources — and fix surprising precedence or NSS lookup hangs.
- Claude
- ChatGPT
Open prompt - Intermediate
Arch pacman & AUR Recovery and Hygiene Prompt
Untangle a broken Arch Linux package state — partial upgrades, conflicting files, keyring failures, .pacnew config drift, and risky AUR builds — without resorting to a reinstall.
- Claude
- ChatGPT
Open prompt - Intermediate
ss Socket State & TCP Backlog Triage Prompt
Read ss output to explain a connection problem — stuck SYN-RECV/CLOSE-WAIT/TIME-WAIT piles, full accept/SYN backlogs, or exhausted ephemeral ports — and pinpoint whether the app or the kernel is to blame.
- Claude
- ChatGPT
Open prompt - Advanced
systemd Encrypted Credentials (systemd-creds) Design Prompt
Replace plaintext secrets in environment variables and EnvironmentFile= with TPM-backed or host-bound encrypted credentials delivered to units via systemd-creds and LoadCredentialEncrypted=.
- Claude
- ChatGPT
Open prompt - Intermediate
autofs Automounter Map Design and Debug Prompt
Design and troubleshoot autofs on-demand mount maps so home directories and shares mount only when accessed, then unmount after idle timeout.
- Claude
- ChatGPT
Open prompt - Advanced
Clevis and Tang LUKS Network-Bound Unlock Design Prompt
Design network-bound disk encryption with Clevis and Tang so LUKS volumes auto-unlock at boot inside the trusted network without a typed passphrase or stored key.
- Claude
- ChatGPT
Open prompt - Intermediate
cpupower Frequency Governor Tuning Prompt
Tune CPU frequency scaling governors, energy-performance bias, and turbo behavior with cpupower to trade latency against power for a given workload profile.
- Claude
- ChatGPT
Open prompt - Beginner
dmidecode and lshw Hardware Inventory Firmware Audit Prompt
Audit a server's hardware inventory and firmware levels with dmidecode and lshw to catch outdated BIOS, mismatched DIMMs, and undocumented expansion cards before an incident.
- Claude
- ChatGPT
Open prompt - Intermediate
fscrypt Per-Directory Filesystem Encryption Setup Prompt
Set up native ext4/f2fs per-directory encryption with fscrypt so individual home or data directories are encrypted with login-tied keys without full-disk encryption.
- Claude
- ChatGPT
Open prompt - Intermediate
Serial Console Headless Access Setup Prompt
Configure a reliable serial console on a headless Linux server covering GRUB, kernel cmdline, and getty so you can reach the boot loader and login over serial or BMC SOL.
- Claude
- ChatGPT
Open prompt - Intermediate
Magic SysRq Key Emergency Configuration Prompt
Configure the magic SysRq key safely so administrators can trigger a controlled emergency sync and reboot or capture diagnostics on a hung server without an unclean power cycle.
- Claude
- ChatGPT
Open prompt - Advanced
systemd-nspawn and machinectl Container Management Prompt
Build, network, and lifecycle-manage lightweight OS containers with systemd-nspawn and machinectl for test environments without pulling in a full container runtime.
- Claude
- ChatGPT
Open prompt - Advanced
systemd-sysext Extension Image Management Prompt
Design and troubleshoot systemd-sysext system extension images so tools overlay onto an immutable or read-only base OS at runtime without modifying the underlying image.
- Claude
- ChatGPT
Open prompt - Intermediate
blkid UUID and Label Duplicate Resolution Prompt
Resolve duplicate filesystem UUIDs and labels after disk cloning or snapshot restore that cause wrong-device mounts, fstab ambiguity, and boot failures on Linux.
- Claude
- ChatGPT
Open prompt - Advanced
dracut initramfs Rebuild and Recovery Prompt
Diagnose an unbootable RHEL/Rocky host stuck in the initramfs emergency shell and rebuild a correct dracut image with the right drivers, modules, and kernel arguments.
- Claude
- ChatGPT
Open prompt - Advanced
ethtool NIC Offload and Ring Buffer Tuning Prompt
Use ethtool stats to diagnose packet drops, ring-buffer overruns, and offload misconfiguration on a busy Linux NIC and produce safe, persistent tuning settings.
- Claude
- ChatGPT
Open prompt - Intermediate
PAM faillock Account Lockout Policy Review Prompt
Audit pam_faillock lockout thresholds, unlock timing, and root behavior across RHEL/Rocky and Debian hosts to balance brute-force defense against operational lockouts.
- Claude
- ChatGPT
Open prompt - Intermediate
Hostname and machine-id Clone Fix Prompt
Detect and repair duplicate /etc/machine-id, D-Bus IDs, and hostname collisions on VMs cloned from a template that cause DHCP lease, journald, and SSH host-key conflicts.
- Claude
- ChatGPT
Open prompt - Intermediate
systemd-logind Session and Lingering Review Prompt
Review systemd-logind sessions, seats, and user lingering to fix leftover sessions, runaway user services, and processes that survive (or die on) logout on multi-user Linux hosts.
- Claude
- ChatGPT
Open prompt - Beginner
resolv.conf DNS Resolver Order Audit Prompt
Untangle who actually owns /etc/resolv.conf on a host (NetworkManager, systemd-resolved, static, or DHCP) and fix wrong nameserver order, search domains, and stub-resolver confusion.
- Claude
- ChatGPT
Open prompt - Intermediate
smartctl Disk Health Pre-Failure Triage Prompt
Interpret SMART attributes and self-test logs from smartctl to decide whether a drive is in pre-failure, needs proactive replacement, or is a false alarm before data loss.
- Claude
- ChatGPT
Open prompt - Advanced
sosreport Diagnostic Bundle Review Prompt
Systematically read a RHEL/Rocky sosreport bundle to find the root cause of a performance, boot, or service incident without manually grepping hundreds of collected files.
- Claude
- ChatGPT
Open prompt - Intermediate
AIDE File Integrity Monitoring Setup Prompt
Design an AIDE file-integrity baseline and check schedule that watches the right paths, suppresses expected churn, and stores the database offline so a compromised host cannot rewrite its own baseline.
- Claude
- ChatGPT
Open prompt - Intermediate
Orphan Package Cleanup Audit Prompt
Audit a server for orphaned, unused, and held-back packages across apt or dnf, then produce a safe removal plan that reclaims space and reduces attack surface without breaking dependencies.
- Claude
- ChatGPT
Open prompt - Beginner
etckeeper Config Drift Tracking Prompt
Set up etckeeper to version-control /etc with git, capture every package-manager and manual change, and produce readable drift reports so you can answer who changed what configuration and when.
- Claude
- ChatGPT
Open prompt - Advanced
CPU Microcode & Speculative-Execution Mitigation Review Prompt
Review a server's CPU vulnerability status and microcode level, decide which speculative-execution mitigations to keep, tune, or disable, and quantify the security-versus-performance tradeoff for the specific workload and threat model.
- Claude
- ChatGPT
Open prompt - Beginner
Linux Swap Sizing & Capacity Planning Prompt
Decide how much swap a server needs and whether to use a swap file, partition, or zswap, based on RAM, workload, and hibernation needs, without inviting thrash or surprise OOM kills.
- Claude
- ChatGPT
Open prompt - Intermediate
lsof Deleted-File Handle Leak Investigation Prompt
Diagnose a disk that shows free space in du but full in df by hunting down processes holding open handles to deleted files, then reclaim the space safely without killing critical services.
- Claude
- ChatGPT
Open prompt - Intermediate
Needrestart Post-Patch Restart Audit Prompt
After a package update, interpret needrestart output to decide exactly which services to restart and whether a reboot is required, minimizing downtime while closing the gap where processes still run old, vulnerable libraries.
- Claude
- ChatGPT
Open prompt - Advanced
SetUID/SetGID Binary Audit Prompt
Inventory every setuid and setgid binary on a host, classify each as expected, removable, or suspicious, and propose a least-privilege remediation plan that uses capabilities instead of full root.
- Claude
- ChatGPT
Open prompt - Intermediate
tuned Performance Profile Review Prompt
Review the active tuned profile on a Linux server, confirm it matches the workload, and design a safe custom profile that layers only the sysctl, CPU governor, and I/O scheduler tweaks the workload actually needs.
- Claude
- ChatGPT
Open prompt - Intermediate
Account Aging & Password Policy Hardening Prompt
Audit and tune local account aging, password complexity, and login defaults (chage, login.defs, pwquality, faillock) to meet a hardening baseline without locking out service accounts.
- Claude
- ChatGPT
Open prompt - Intermediate
DNF / yum Package & Module Stream Management Prompt
Resolve dependency conflicts, manage module streams and version locks, and roll back transactions safely on RHEL/Fedora-family hosts.
- Claude
- ChatGPT
Open prompt - Intermediate
firewalld Zone & Rich Rule Design Prompt
Design firewalld zones, services, and rich rules with correct interface/source binding so runtime and permanent configs match and the host stays reachable.
- Claude
- ChatGPT
Open prompt - Beginner
/etc/fstab Mount Options Tuning & Review Prompt
Review and tune fstab entries (options, ordering, fsck pass, nofail/x-systemd) so mounts are reliable, performant, and never block boot.
- Claude
- ChatGPT
Open prompt - Intermediate
NetworkManager Connection Profile Management Prompt
Design, debug, and harden NetworkManager keyfile profiles for static IPs, bonds, VLANs, and routing so nmcli changes survive reboots without breaking connectivity.
- Claude
- ChatGPT
Open prompt - Advanced
SSH Certificate Authority (CA) Setup & Rotation Prompt
Stand up an SSH CA to replace sprawling authorized_keys with short-lived, principal-scoped certificates for both host and user authentication.
- Claude
- ChatGPT
Open prompt - Advanced
sudoers Policy Authoring & Validation Prompt
Write least-privilege sudoers rules with command aliases, NOPASSWD scoping, and Defaults that pass visudo and resist privilege-escalation tricks.
- Claude
- ChatGPT
Open prompt - Advanced
systemd Unit Dependency & Boot Ordering Graph Prompt
Untangle why a service starts too early, deadlocks at boot, or races a mount/network by reasoning over the After/Wants/Requires dependency graph.
- Claude
- ChatGPT
Open prompt - Intermediate
udev Persistent Device Naming & Rules Prompt
Author and debug udev rules so disks, NICs, and serial devices get stable, predictable names across reboots and hardware changes.
- Claude
- ChatGPT
Open prompt - Advanced
ftrace & kprobe Dynamic Kernel Tracing Prompt
Drive a structured ftrace / kprobe investigation to trace kernel function latency, follow a syscall through the kernel, and answer 'why is this call slow inside the kernel' without recompiling or rebooting.
- Claude
- ChatGPT
Open prompt - Intermediate
Linux Capabilities Audit & Hardening Prompt
Audit POSIX file capabilities and per-process capability sets to find binaries and services that hold more privilege than they need, then drop them — replacing blunt setuid-root with least-privilege capabilities.
- Claude
- ChatGPT
Open prompt - Advanced
Linux CPU & Memory Hotplug Management Prompt
Safely online, offline, and troubleshoot CPU and memory hotplug on physical and virtual hosts — VM right-sizing, isolating a flaky core, balloon/memory-block operations, and the sysfs interfaces that make it deterministic.
- Claude
- ChatGPT
Open prompt - Intermediate
Linux Entropy & RNG Starvation Tuning Prompt
Diagnose and fix kernel random-number-generator stalls — boot-time blocking on getrandom(), slow TLS/SSH key generation, and VM/headless entropy starvation — using a correct understanding of the modern CRNG instead of cargo-culted haveged advice.
- Claude
- ChatGPT
Open prompt - Advanced
Linux Mount Namespace & Bind-Mount Propagation Prompt
Untangle mount namespaces and bind-mount propagation — why a mount is or isn't visible inside a container, shared vs private vs slave propagation, and rbind surprises — using a precise mental model instead of trial-and-error.
- Claude
- ChatGPT
Open prompt - Advanced
nftables Sets, Maps & Flowtable Design Prompt
Design high-performance nftables rulesets using named sets, verdict maps, intervals, and flowtable offload — replacing thousands of linear rules with O(1) lookups and hardware/software fast-path forwarding.
- Claude
- ChatGPT
Open prompt - Advanced
OverlayFS Layered Filesystem Debugging Prompt
Debug OverlayFS mounts behind containers and live images — whiteouts, copy-up surprises, ENOSPC on the upper layer, inode duplication, and metacopy/redirect quirks — instead of blaming the container runtime.
- Claude
- ChatGPT
Open prompt - Intermediate
SSSD LDAP / Active Directory Integration Debugging Prompt
Systematically debug SSSD-backed LDAP or Active Directory authentication and identity lookups — failed logins, missing groups, cache staleness, and GPO/access-control surprises — instead of randomly bumping debug_level.
- Claude
- ChatGPT
Open prompt - Intermediate
systemd-coredump Core Dump Analysis Prompt
Use systemd-coredump and coredumpctl to capture, locate, and analyze userspace process crashes — finding the faulting frame, missing debug symbols, and the recurring crasher — without setting up an ad-hoc core dump pipeline.
- Claude
- ChatGPT
Open prompt - Intermediate
Linux Disk Quota Management Prompt
Design and troubleshoot per-user and per-group disk quotas on ext4/XFS — soft/hard limits, grace periods, project quotas, reporting, and runaway-usage enforcement without locking out legitimate work.
- Claude
- ChatGPT
Open prompt - Advanced
Linux Kernel Live Patching Prompt
Plan and operate kernel live patching (kpatch, kGraft, Canonical Livepatch) to apply CVE fixes without rebooting — eligibility, consistency model, rollout, fallback, and when a real reboot is still mandatory.
- Claude
- ChatGPT
Open prompt - Intermediate
Linux rsyslog Configuration & Filtering Prompt
Author and debug rsyslog config — facility/severity rules, property-based filters, RELP/TCP forwarding, rate limiting, templates, and queues — so logs route reliably without dropping under burst.
- Claude
- ChatGPT
Open prompt - Beginner
Linux sar & sysstat Historical Performance Analysis Prompt
Mine sysstat/sar archives to reconstruct what happened during a past incident — CPU, memory, I/O, network, and run-queue history — and turn raw sar output into a root-cause timeline.
- Claude
- ChatGPT
Open prompt - Advanced
Linux Static HugePages Tuning Prompt
Allocate and tune explicit (static) HugePages and 1GB gigantic pages for databases, JVMs, and DPDK — sizing, NUMA placement, hugetlbfs mounts, and avoiding the over-reservation memory trap.
- Claude
- ChatGPT
Open prompt - Advanced
Linux tc Traffic Control & QoS Shaping Prompt
Design, apply, and debug Linux traffic shaping with tc — qdiscs (fq_codel, HTB, cake), classes, filters, rate limiting, and bufferbloat mitigation — without blackholing production traffic.
- Claude
- ChatGPT
Open prompt - Beginner
Linux tmpfiles.d & Runtime Directory Management Prompt
Author and debug systemd-tmpfiles entries — creating, cleaning, and permissioning runtime/volatile paths in /run, /var, and /tmp declaratively instead of with fragile init scripts.
- Claude
- ChatGPT
Open prompt - Intermediate
Linux WireGuard VPN Setup & Debug Prompt
Stand up and troubleshoot WireGuard tunnels on Linux — key management, AllowedIPs routing, NAT/MTU pitfalls, persistent keepalive, and the silent-handshake-failure debugging loop.
- Claude
- ChatGPT
Open prompt - Advanced
bpftrace / eBPF Live Tracing Investigation Prompt
Use bpftrace and eBPF to trace syscalls, kernel functions, and latency on a live production host without recompiling, restarting, or attaching a debugger.
- Claude
- ChatGPT
Open prompt - Intermediate
Linux conntrack Table Exhaustion Tuning Prompt
Diagnose and fix nf_conntrack table exhaustion on busy Linux hosts and gateways — dropped connections, log spam, and timeout tuning — or decide where to bypass tracking entirely.
- Claude
- ChatGPT
Open prompt - Intermediate
Linux fstrim & SSD Discard Maintenance Prompt
Set up correct TRIM/discard for SSDs and thin-provisioned storage on Linux — periodic fstrim vs continuous discard — across LVM, LUKS, and dm-crypt stacks without hurting performance.
- Claude
- ChatGPT
Open prompt - Intermediate
Linux inotify / fanotify Limits & Watch Exhaustion Prompt
Diagnose 'no space left on device' from exhausted inotify watches, tune the relevant sysctls, and decide between inotify and fanotify for large directory trees.
- Claude
- ChatGPT
Open prompt - Advanced
Linux io_uring Tuning & Debugging Prompt
Evaluate, tune, and debug io_uring usage on a Linux host — queue depths, SQPOLL, fixed buffers, completion handling — and weigh the security trade-offs of enabling it.
- Claude
- ChatGPT
Open prompt - Intermediate
Linux Transparent Huge Pages & THP Stall Investigation Prompt
Decide whether Transparent Huge Pages help or hurt a workload, diagnose THP-related latency spikes from khugepaged and compaction, and configure explicit hugepages where they belong.
- Claude
- ChatGPT
Open prompt - Intermediate
Linux zram & zswap Compressed Memory Setup Prompt
Set up zram swap or zswap to absorb memory pressure with compressed RAM instead of disk swap, choose the right compressor, and avoid double-compression mistakes.
- Claude
- ChatGPT
Open prompt - Intermediate
systemd-oomd & PSI Pressure Tuning Prompt
Configure systemd-oomd and Pressure Stall Information (PSI) to kill the right cgroup under memory or I/O pressure before the kernel OOM killer fires arbitrarily.
- Claude
- ChatGPT
Open prompt - Advanced
systemd Socket Activation Design & Debugging Prompt
Design or debug systemd socket-activated services — on-demand start, zero-downtime restarts, and privilege separation via .socket units — and decide when socket activation is the wrong tool.
- Claude
- ChatGPT
Open prompt - Intermediate
GRUB2 Bootloader & Kernel Cmdline Review Prompt
Review and safely edit GRUB2 configuration and kernel command-line parameters — default kernel selection, console/serial, IOMMU, mitigations, hugepages — without bricking boot.
- Claude
- ChatGPT
Open prompt - Advanced
journald Remote Centralized Logging Setup Prompt
Design and debug centralized log shipping with systemd-journal-remote / journal-upload (or a forwarder), including TLS, buffering, and fleet-wide journalctl querying.
- Claude
- ChatGPT
Open prompt - Intermediate
Linux CA Trust Store & TLS Certificate Management Prompt
Manage the system CA trust store across distros (update-ca-trust / update-ca-certificates), add internal CAs, debug 'certificate verify failed' errors, and audit expiring/weak certs on a server.
- Claude
- ChatGPT
Open prompt - Advanced
Linux CPU Scheduling & Affinity Tuning Prompt
Tune Linux process scheduling — nice/priority, scheduling policy (SCHED_FIFO/RR/OTHER), CPU affinity, isolcpus, and cgroup v2 cpu.weight/quota — for latency-sensitive or noisy-neighbor workloads.
- Claude
- ChatGPT
Open prompt - Beginner
Linux dmesg & Kernel Ring Buffer Triage Prompt
Decode dmesg / kernel ring buffer output to triage hardware errors, driver warnings, OOM events, segfaults, and link flaps — separating benign noise from real failures.
- Claude
- ChatGPT
Open prompt - Advanced
Linux kdump & Kernel Crash Dump Analysis Prompt
Configure kdump/kexec reliably and analyze vmcore crash dumps with crash/drgn to find the kernel panic root cause after an unexpected reboot or hung server.
- Claude
- ChatGPT
Open prompt - Advanced
Linux Namespaces Isolation & Debugging Prompt
Inspect, enter, and reason about Linux namespaces (mount, PID, net, user, UTS, IPC, cgroup) to debug container-like isolation, leaked namespaces, and unexpected cross-namespace visibility.
- Claude
- ChatGPT
Open prompt - Advanced
Linux Slab & Kernel Memory Leak Investigation Prompt
Diagnose growing kernel/unreclaimable memory — slab caches, dentry/inode bloat, kmalloc leaks, and page-cache vs SReclaimable confusion — when free RAM shrinks but no process owns it.
- Claude
- ChatGPT
Open prompt - Intermediate
systemd-networkd Configuration Review Prompt
Review and debug systemd-networkd .network/.netdev/.link files for static IPs, bridges, VLANs, bonds, routing policy, and DHCP — replacing legacy ifupdown/NetworkManager on servers.
- Claude
- ChatGPT
Open prompt - Intermediate
apt / dpkg Broken Dependency Recovery Prompt
Recover Debian/Ubuntu hosts stuck in half-configured packages, held broken dependencies, interrupted dpkg, or a wedged apt state — without nuking the system.
- Claude
- ChatGPT
Open prompt - Intermediate
chrony / NTP Time Sync Troubleshooting Prompt
Diagnose clock drift, offset, and sync failures with chrony (or ntpd) so TLS, Kerberos, logs, and distributed systems stop breaking from skewed time.
- Claude
- ChatGPT
Open prompt - Intermediate
fail2ban Brute-Force Protection Setup Prompt
Design and tune fail2ban jails to block SSH and service brute-force attacks without locking out legitimate users, coordinating with nftables/firewalld.
- Claude
- ChatGPT
Open prompt - Beginner
Linux File Permissions & ACL Audit Prompt
Audit and fix file ownership, mode bits, setuid/setgid, sticky bits, umask, and POSIX ACLs so shared directories work without world-writable security holes.
- Claude
- ChatGPT
Open prompt - Advanced
Linux Multipath & SAN Storage Troubleshooting Prompt
Diagnose device-mapper multipath issues — flapping paths, wrong path policy, missing LUNs, and dm-multipath/SAN faults — on iSCSI or Fibre Channel attached storage.
- Claude
- ChatGPT
Open prompt - Advanced
Linux Swap & Swappiness Tuning Prompt
Decide how much swap to configure, tune vm.swappiness and friends, and stop swap-thrash or premature OOM kills on memory-pressured Linux servers.
- Claude
- ChatGPT
Open prompt - Advanced
Linux ulimit & File Descriptor Limits Prompt
Diagnose and raise process resource limits — open files, processes, memlock — fixing 'Too many open files' across systemd units, PAM logins, and containers.
- Claude
- ChatGPT
Open prompt - Intermediate
Linux Zombie & Orphan Process Forensics Prompt
Track down zombie (defunct) processes, runaway orphans, and broken parent-reaping so process tables don't fill and services stop leaking children.
- Claude
- ChatGPT
Open prompt - Intermediate
logrotate Configuration & Log Growth Review Prompt
Audit and design logrotate rules so /var never fills, logs are rotated/compressed/retained sanely, and post-rotate signaling doesn't break long-running daemons.
- Claude
- ChatGPT
Open prompt - Intermediate
Cron to systemd Timer Migration Prompt
Convert legacy crontab and /etc/cron.d jobs into systemd service+timer pairs with proper logging, failure handling, randomized delays, and dependency ordering.
- Claude
- ChatGPT
Open prompt - Intermediate
journald Storage & Retention Tuning Prompt
Tune systemd-journald storage, rotation, rate-limiting, and forwarding so logs survive reboots, stop filling the disk, and don't drop bursts during incidents.
- Claude
- ChatGPT
Open prompt - Advanced
LVM Thin Provisioning & Online Resize Planning Prompt
Plan LVM thin pools and online filesystem grows safely — pool sizing, metadata, overprovisioning monitoring, and a step-by-step PV→VG→LV→filesystem resize that won't lose data.
- Claude
- ChatGPT
Open prompt - Beginner
SSH Server Hardening Review Prompt
Harden sshd_config against brute force and weak crypto — key-only auth, modern ciphers/KEX/MACs, login restrictions, idle timeouts, and bastion-friendly settings — without locking yourself out.
- Claude
- ChatGPT
Open prompt - Intermediate
Linux User, sudo & SSH Access Audit Prompt
Audit local accounts, sudoers rules, group membership, and SSH authorized keys to find privilege creep, orphaned accounts, and overly broad sudo grants — then produce a least-privilege remediation.
- Claude
- ChatGPT
Open prompt - Advanced
sysctl Kernel Parameter Tuning Audit Prompt
Review and tune /etc/sysctl.d kernel parameters for a server's role — network stack, VM/dirty-page behavior, file handles, and security toggles — with a safe, persistent, reversible rollout.
- Claude
- ChatGPT
Open prompt - Intermediate
systemd-resolved DNS Resolution Debugging Prompt
Diagnose Linux DNS resolution failures driven by systemd-resolved — split-DNS, stub resolver, /etc/resolv.conf symlinks, search domains, and DNSSEC/caching quirks on Ubuntu and friends.
- Claude
- ChatGPT
Open prompt - Advanced
systemd Unit Hardening Review Prompt
Audit a systemd service unit and add sandboxing directives (NoNewPrivileges, ProtectSystem, capability bounding, syscall filters) to shrink its blast radius without breaking the workload.
- Claude
- ChatGPT
Open prompt - Intermediate
Linux Patch & Package Update Automation Prompt
Design safe automated patching for apt or dnf fleets — security-only auto-updates, staged rollouts, reboot coordination, and held packages — with rollback and reporting.
- Claude
- ChatGPT
Open prompt - Advanced
Cgroups v2 Resource Control Deep Dive Prompt
Configure cgroups v2 — memory, CPU, IO controllers; understand slice/scope/service hierarchy; isolate workloads; debug throttling and accounting.
- Claude
- ChatGPT
Open prompt - Intermediate
Linux strace / Syscall Debugging Prompt
Use strace, ltrace, ftrace, and bpftrace to find why an app hangs, what files it touches, why a binary fails on a new system, and which syscall actually returns the error.
- Claude
- ChatGPT
Open prompt - Intermediate
Linux auditd Configuration & Forensics Prompt
Configure auditd rules for compliance (CIS, PCI, HIPAA), query audit logs with `ausearch`/`aureport`, investigate incidents, and avoid common rule-set performance pitfalls.
- Claude
- ChatGPT
Open prompt - Intermediate
Linux Kernel Module Troubleshooting Prompt
Diagnose kernel module load failures — modprobe errors, missing dependencies, signing issues with Secure Boot, DKMS build failures, hardware not detected.
- Claude
- ChatGPT
Open prompt - Intermediate
systemd Timer Debugging Prompt
Diagnose systemd timers that don't fire, fire at wrong times, miss runs after sleep, or run with wrong environment — `OnCalendar`, `Persistent=`, `AccuracySec=`, time zones.
- Claude
- ChatGPT
Open prompt - Intermediate
Linux PAM Authentication Debugging Prompt
Diagnose Linux login failures — PAM stack misconfiguration, lockouts (`faillock`/`pam_tally2`), sssd/LDAP join issues, missing modules, password policy rejection.
- Claude
- ChatGPT
Open prompt - Intermediate
iptables → nftables Migration & Audit Prompt
Migrate a Linux firewall ruleset from iptables to nftables, audit hybrid setups, and avoid the silent-translation traps that cause production outages.
- Claude
- ChatGPT
Open prompt - Intermediate
Linux VLAN & Bridge Troubleshooting Prompt
Diagnose Linux bridge and VLAN issues — tagged/untagged traffic confusion, bridge fdb mysteries, vlan_filtering, VXLAN overlay debugging.
- Claude
- ChatGPT
Open prompt - Advanced
Linux Bonding / LACP Troubleshooting Prompt
Diagnose Linux network bonding (802.3ad LACP, active-backup, balance-tlb) — slave failures, LACP partner mismatch, throughput below sum-of-links, asymmetric traffic.
- Claude
- ChatGPT
Open prompt - Advanced
LUKS Encryption Rescue Prompt
Recover access to a LUKS-encrypted volume — failed unlock, header corruption, keyslot management, header backup/restore, and TPM/clevis recovery.
- Claude
- ChatGPT
Open prompt - Intermediate
NFS Mount Troubleshooting Prompt
Diagnose NFS mount failures — stale file handles, hung mounts (D-state processes), soft vs hard semantics, autofs misbehavior, Kerberos (sec=krb5) errors.
- Claude
- ChatGPT
Open prompt - Intermediate
Btrfs Balance & Snapshot Management Prompt
Manage Btrfs filesystems — data/metadata balance, snapshot lifecycle, qgroups, subvolume management, and recovering from chunk allocation issues.
- Claude
- ChatGPT
Open prompt - Intermediate
SELinux & AppArmor Denial Decoder Prompt
Decode SELinux AVC denials and AppArmor DENIED entries, identify the right fix (label, policy module, profile tweak), and avoid disabling LSMs as a shortcut.
- Claude
- ChatGPT
Open prompt - Advanced
Linux Boot Failure & Rescue Prompt
Recover an unbootable Linux server — GRUB failures, broken initramfs, fstab errors, missing root, kernel panics — with a deliberate rescue sequence.
- Claude
- ChatGPT
Open prompt - Advanced
XFS Filesystem Troubleshooting Prompt
Diagnose and repair XFS issues — log corruption, xfs_repair workflow, allocator/freespace problems, online vs offline checks, and dump/restore for the worst case.
- Claude
- ChatGPT
Open prompt - Advanced
ext4 Filesystem Corruption Recovery Prompt
Recover a corrupted ext4 filesystem — fsck strategies, journal replay, debugfs forensics, restoring from backup superblocks.
- Claude
- ChatGPT
Open prompt - Intermediate
Linux Host Network Connectivity Debug Prompt
Diagnose single-host Linux networking — broken routes, firewall blocks, DNS, conntrack exhaustion, ephemeral port exhaustion, MTU issues — without confusing it with cloud/SDN problems.
- Claude
- ChatGPT
Open prompt - Advanced
Linux mdraid Software RAID Recovery Prompt
Recover from degraded or failed mdraid arrays — failed disk, missing member, resync stuck, replacing drives without losing data.
- Claude
- ChatGPT
Open prompt - Intermediate
systemd Unit Failure Debugging Prompt
Diagnose systemd unit failures — dependency cycles, mount/target failures, exit codes, journalctl filtering, drop-in overrides, and silent service flapping.
- Claude
- ChatGPT
Open prompt - Advanced
Linux OOM Kill & Memory Pressure Investigation Prompt
Diagnose OOM kills, memory pressure, swap thrashing, slab bloat, and cgroup memory limit failures on Linux servers from dmesg OOM banners and /proc data.
- Claude
- ChatGPT
Open prompt - Intermediate
LVM Troubleshooting Prompt
Diagnose and recover LVM problems — missing PV, VG inactive, snapshot full, thin pool exhausted, online/offline resize, and metadata corruption.
- Claude
- ChatGPT
Open prompt - Advanced
Linux High Load & CPU Runaway Investigation Prompt
Diagnose high load average, CPU saturation, run-queue pressure, IRQ storms, and steal time on Linux servers — distinguish user CPU vs system CPU vs I/O wait vs steal.
- Claude
- ChatGPT
Open prompt - Advanced
Linux `perf` & Flame Graph Profiling Prompt
Profile a Linux process with `perf record` and generate flame graphs to find CPU hotspots, off-CPU waits, and frequent stack patterns.
- Claude
- ChatGPT
Open prompt - Intermediate
Linux Disk Full / Inode Exhaustion Diagnosis Prompt
Diagnose why a Linux filesystem is full or out of inodes — including deleted-but-held files, journal bloat, reserved blocks, and hidden mount-shadowed data.
- Claude
- ChatGPT
Open prompt - Advanced
Linux NUMA Imbalance Investigation Prompt
Diagnose NUMA-related performance issues — cross-node memory access, allocation imbalance, scheduler migration, and how to pin workloads to nodes.
- Claude
- ChatGPT
Open prompt - Advanced
Linux Context Switch & Lock Contention Diagnosis Prompt
Diagnose context-switch storms, futex contention, kernel-level lock waits, and CPU scheduling pathologies that masquerade as 'app is slow.'
- Claude
- ChatGPT
Open prompt - Advanced
Linux Network Performance Tuning Prompt
Diagnose slow network throughput, high latency, retransmits, ephemeral port exhaustion, and tune TCP/UDP stack parameters (BBR, buffers, queues) safely.
- Claude
- ChatGPT
Open prompt - Advanced
Linux Block I/O Performance Investigation Prompt
Diagnose slow disk I/O, high iowait, queue depth saturation, and storage performance regressions using iostat, blktrace, fio, and per-device metrics.
- Claude
- ChatGPT
Open prompt - Intermediate
Linux Server Troubleshooting Prompt
Help diagnose CPU, memory, disk, network, and service issues on Ubuntu or RHEL servers from raw command output.
- Claude
- ChatGPT
- Cursor
Open prompt
Guides
- · 10 min read
Linux Error: 'A stop job is running for...' — Cause, Fix, and Troubleshooting Guide
How to fix the Linux 'A stop job is running for...' slow-shutdown error: find the hanging unit, tune DefaultTimeoutStopSec and TimeoutStopSec, and fix KillMode and reboots.
Read guide - · 10 min read
Linux Error: ALERT! UUID=... does not exist. Dropping to a shell! — Cause, Fix, and Troubleshooting Guide
How to fix the Linux initramfs 'ALERT! UUID=... does not exist. Dropping to a shell!' error: repair fstab/UUID mismatches after a clone or resize and rebuild the initramfs.
Read guide - · 9 min read
Linux Error: Argument list too long — Cause, Fix, and Troubleshooting Guide
How to fix the Linux 'Argument list too long' (E2BIG) error: understand ARG_MAX, use xargs and find -exec, split globs, and work around large command lines safely.
Read guide - · 9 min read
Linux Error: bad interpreter: No such file or directory — Cause, Fix, and Troubleshooting Guide
How to fix the Linux 'bad interpreter: No such file or directory' error: CRLF line endings, wrong shebang paths, missing interpreters, and BOM issues explained.
Read guide - · 10 min read
Linux Error: Cannot assign requested address — Cause, Fix, and Troubleshooting Guide
How to fix the Linux 'Cannot assign requested address' (EADDRNOTAVAIL) error: bind to a missing IP, ephemeral port exhaustion, wrong interface, and IPv6 binds.
Read guide - · 8 min read
Linux Error: chown: invalid user: '<name>' — Cause, Fix, and Troubleshooting Guide
How to fix the Linux chown: invalid user error: the user does not exist in NSS, a typo, an unresolvable LDAP/SSSD account, or a UID needing --from. Diagnose with getent and id.
Read guide - · 9 min read
Linux Error: Connection refused — Cause, Fix, and Troubleshooting Guide
How to fix the Linux 'Connection refused' error (ECONNREFUSED): diagnose closed ports, dead services, wrong bind address and firewalls with ss, curl and nc.
Read guide - · 10 min read
Linux Error: Connection timed out — Cause, Fix, and Troubleshooting Guide
How to fix the Linux 'Connection timed out' error (ETIMEDOUT): diagnose dropped packets, firewalls, security groups and routing with ss, curl, nc and ip route.
Read guide - · 9 min read
Linux Error: Could not get lock /var/lib/dpkg/lock-frontend — Cause, Fix, and Troubleshooting Guide
How to fix the Linux 'Could not get lock /var/lib/dpkg/lock-frontend' error: find the process holding the apt/dpkg lock, wait for unattended-upgrades, and recover safely.
Read guide - · 9 min read
Linux Error: curl: (6) Could not resolve host — Cause, Fix, and Troubleshooting Guide
How to fix the 'curl: (6) Could not resolve host' error on Linux: diagnose broken DNS, resolv.conf, proxies and systemd-resolved on Ubuntu and RHEL.
Read guide - · 10 min read
Linux Error: 'Dependency failed for /<mountpoint>' — Cause, Fix, and Troubleshooting Guide
How to fix the Linux 'Dependency failed for /<mountpoint>' systemd error: diagnose failed mount units, fstab entries, RequiresMountsFor, and nofail options to boot cleanly.
Read guide - · 9 min read
Linux Error: Destination Host Unreachable — Cause, Fix, and Troubleshooting Guide
How to fix the Linux 'Destination Host Unreachable' ping error: diagnose ARP failures, wrong gateways, subnet mask mistakes, and firewall drops on the same LAN.
Read guide - · 9 min read
Linux Error: Device or resource busy — Cause, Fix, and Troubleshooting Guide
How to fix the Linux 'Device or resource busy' (EBUSY) error when unmounting, removing, or killing: find the process holding the mount and release it safely.
Read guide - · 9 min read
Linux Error: dpkg was interrupted, you must manually run dpkg --configure -a — Cause, Fix, and Troubleshooting Guide
How to fix the Linux 'dpkg was interrupted, you must manually run dpkg --configure -a' error: recover a half-configured package database on Debian and Ubuntu safely.
Read guide - · 10 min read
Linux Error: Exec format error — Cause, Fix, and Troubleshooting Guide
How to fix the Linux 'Exec format error' (ENOEXEC): wrong CPU architecture, missing shebang, corrupt binaries, and multi-arch container images explained.
Read guide - · 9 min read
Linux Error: 'Failed to connect to bus: No such file or directory' — Cause, Fix, and Troubleshooting Guide
How to fix the Linux 'Failed to connect to bus: No such file or directory' error: set XDG_RUNTIME_DIR and DBUS_SESSION_BUS_ADDRESS, fix --user vs system, and run systemd in containers.
Read guide - · 10 min read
Linux Error: Failed to download metadata for repo — Cause, Fix, and Troubleshooting Guide
How to fix the Linux dnf 'Failed to download metadata for repo' error on RHEL, Rocky, and Alma: repair repo URLs, proxy, TLS, clock skew, and clean the dnf cache.
Read guide - · 10 min read
Linux Error: UNEXPECTED INCONSISTENCY; RUN fsck MANUALLY — Cause, Fix, and Troubleshooting Guide
How to fix the Linux 'UNEXPECTED INCONSISTENCY; RUN fsck MANUALLY' boot error: run fsck safely from a rescue shell, repair ext4/XFS, and recover a filesystem that won't auto-check.
Read guide - · 10 min read
Linux Error: grub rescue> ... no such device — Cause, Fix, and Troubleshooting Guide
How to fix the Linux 'grub rescue> error: no such device' boot error: locate the boot partition, set prefix/root, load the normal module, and reinstall GRUB on Ubuntu and RHEL.
Read guide - · 9 min read
Linux Error: Hash Sum mismatch — Cause, Fix, and Troubleshooting Guide
How to fix the Linux apt 'Hash Sum mismatch' error on Ubuntu and Debian: clear the package lists cache and track down the caching proxy or stale mirror behind it.
Read guide - · 10 min read
Linux Error: Input/output error — Cause, Fix, and Troubleshooting Guide
How to fix the Linux 'Input/output error' (EIO): diagnose failing disks with SMART and dmesg, distinguish device faults from NFS drops, and recover safely.
Read guide - · 11 min read
Linux Error: Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block — Cause, Fix, and Troubleshooting Guide
How to fix the Linux 'Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block' error: repair a missing initramfs, wrong root=, or missing storage driver.
Read guide - · 10 min read
Linux Error: mount: wrong fs type, bad option, bad superblock — Cause, Fix, and Troubleshooting Guide
How to fix the Linux 'mount: wrong fs type, bad option, bad superblock' error: diagnose filesystem type mismatches, corrupt superblocks, missing modules, and bad fstab options.
Read guide - · 9 min read
Linux Error: Name or service not known — Cause, Fix, and Troubleshooting Guide
How to fix the Linux 'Name or service not known' error (EAI_NONAME): diagnose failed DNS lookups, /etc/hosts, resolv.conf and systemd-resolved on Ubuntu and RHEL.
Read guide - · 10 min read
Linux Error: Network is unreachable — Cause, Fix, and Troubleshooting Guide
How to fix the Linux 'Network is unreachable' (ENETUNREACH) error: diagnose missing routes, default gateways, down interfaces, and IPv6 vs IPv4 routing problems.
Read guide - · 10 min read
Linux Error: NO_PUBKEY / the following signatures couldn't be verified — Cause, Fix, and Troubleshooting Guide
How to fix the Linux apt 'NO_PUBKEY' and 'the following signatures couldn't be verified' error on Ubuntu using the modern signed-by keyring in /etc/apt/keyrings.
Read guide - · 10 min read
Linux Error: No route to host — Cause, Fix, and Troubleshooting Guide
How to fix the Linux 'No route to host' error (EHOSTUNREACH): diagnose missing routes, firewall REJECTs, ARP failures and down interfaces with ip route and ss.
Read guide - · 10 min read
Linux Error: No such file or directory (when the file clearly exists) — Cause, Fix, and Troubleshooting Guide
How to fix Linux 'No such file or directory' when the file exists: missing ELF interpreter/loader, wrong architecture, and missing shared libraries explained.
Read guide - · 11 min read
Linux Error: Operation not permitted — Cause, Fix, and Troubleshooting Guide
How to fix the Linux 'Operation not permitted' error (EPERM): missing capabilities, the immutable bit, seccomp, user namespaces, SELinux and AppArmor denials explained.
Read guide - · 10 min read
Linux Error: passwd: Authentication token manipulation error — Cause, Fix, and Troubleshooting Guide
How to fix the Linux passwd: Authentication token manipulation error — usually a full or read-only filesystem or an immutable /etc/shadow, not a bad password. Diagnose and repair.
Read guide - · 11 min read
Linux Error: Permission denied — Cause, Fix, and Troubleshooting Guide
How to fix the Linux 'Permission denied' error (EACCES): file modes, ownership, ACLs, noexec mounts, missing execute bit, SELinux and AppArmor denials explained.
Read guide - · 10 min read
Linux Error: rpmdb: BDB0113 Thread/process failed — Cause, Fix, and Troubleshooting Guide
How to fix the Linux rpmdb: BDB0113 Thread/process failed error caused by a corrupt RPM Berkeley DB: verify, back up, and rebuild /var/lib/rpm safely on RHEL/Rocky.
Read guide - · 11 min read
Linux Error: Segmentation fault (core dumped) — Cause, Fix, and Troubleshooting Guide
How to fix the Linux 'Segmentation fault (core dumped)' error: capture cores with coredumpctl, analyze with gdb, read dmesg segfault lines, and find the faulting library.
Read guide - · 9 min read
Linux Error: Stale file handle — Cause, Fix, and Troubleshooting Guide
How to fix the Linux 'Stale file handle' (ESTALE) error on NFS: understand why the file handle went stale, remount the export, and prevent it recurring.
Read guide - · 9 min read
Linux Error: 'Start request repeated too quickly' — Cause, Fix, and Troubleshooting Guide
How to fix the Linux 'Start request repeated too quickly' systemd error: reset the start limit, fix crashing ExecStart and Restart directives, and tune StartLimitBurst.
Read guide - · 10 min read
Linux Error: Structure needs cleaning — Cause, Fix, and Troubleshooting Guide
How to fix the Linux 'Structure needs cleaning' (EUCLEAN) error on ext4 and btrfs: confirm the corruption, unmount, back up, and run the correct repair safely.
Read guide - · 9 min read
Linux Error: su: Authentication failure — Cause, Fix, and Troubleshooting Guide
How to fix the Linux su: Authentication failure error: wrong password, a locked or expired account, PAM faillock lockout, or a nologin shell. Diagnose on Ubuntu and RHEL.
Read guide - · 8 min read
Linux Error: sudo: unable to resolve host <hostname> — Cause, Fix, and Troubleshooting Guide
How to fix the Linux sudo: unable to resolve host error: the machine's hostname is missing from /etc/hosts. Diagnose with hostname, hostnamectl, and fix on Ubuntu/RHEL.
Read guide - · 10 min read
Linux Error: Temporary failure in name resolution — Cause, Fix, and Troubleshooting Guide
How to fix the Linux 'Temporary failure in name resolution' error (EAI_AGAIN): diagnose broken DNS, resolv.conf, and systemd-resolved on Ubuntu and RHEL.
Read guide - · 9 min read
Linux Error: Text file busy — Cause, Fix, and Troubleshooting Guide
How to fix the Linux 'Text file busy' (ETXTBSY) error: find the process running or holding a binary with lsof and fuser, stop it, then replace or overwrite the executable safely.
Read guide - · 9 min read
Linux Error: Transport endpoint is not connected — Cause, Fix, and Troubleshooting Guide
How to fix the Linux 'Transport endpoint is not connected' (ENOTCONN) error from a dead NFS or FUSE mount: force-unmount the stale mount and remount cleanly.
Read guide - · 9 min read
Linux Error: 'Unit <name>.service not found' — Cause, Fix, and Troubleshooting Guide
How to fix the Linux 'Unit <name>.service not found' systemd error: locate missing unit files, fix typos and enablement, run daemon-reload, and correct WantedBy links.
Read guide - · 10 min read
Linux Error: The following packages have unmet dependencies — Cause, Fix, and Troubleshooting Guide
How to fix the Linux 'The following packages have unmet dependencies' error on Ubuntu and Debian: resolve held, broken, and conflicting apt packages step by step.
Read guide - · 9 min read
Linux Error Guide: 'Buffer I/O error on dev' Disk I/O Errors and Bad Sectors
Fix the 'Buffer I/O error on dev' and blk_update_request I/O error kernel messages: diagnose bad sectors, medium errors, EIO in apps, and SMART data on a failing disk.
Read guide - · 9 min read
Linux Error Guide: 'cannot open shared object file' Missing Shared Libraries
Fix 'error while loading shared libraries: cannot open shared object file' on Linux using ldd, ldconfig, and LD_LIBRARY_PATH to resolve missing libraries.
Read guide - · 9 min read
Linux Error Guide: 'EXT4-fs error ... bad extent' Filesystem Corruption and fsck
Fix the EXT4-fs error 'bad extent/header' that remounts your filesystem read-only. Diagnose ext4 metadata corruption, recover the journal, and run e2fsck safely.
Read guide - · 9 min read
Linux Error: fork: Resource temporarily unavailable — Cause, Fix, and Troubleshooting Guide
How to fix fork: Resource temporarily unavailable (EAGAIN) on Linux by diagnosing ulimit nproc, cgroup pids.max, kernel.pid_max and kernel.threads-max limits.
Read guide - · 9 min read
Linux Error Guide: 'task blocked for more than 120 seconds' Hung Task Detector
Fix the khungtaskd 'task blocked for more than 120 seconds' warning: understand the uninterruptible D state, diagnose the I/O stall behind a hung task.
Read guide - · 9 min read
Linux Error Guide: 'Job timed out' systemd Start Timeouts and Hung Units
Fix the systemd 'Job timed out' error: tune TimeoutStartSec, fix Type=notify units missing READY=1, hung ExecStart, and device/mount timeouts.
Read guide - · 9 min read
Linux Error Guide: 'nf_conntrack: table full, dropping packet' Connection Tracking Exhaustion
Fix 'nf_conntrack: table full, dropping packet' on Linux: understand nf_conntrack_max vs conntrack count, hashsize, timeouts, and NAT-driven exhaustion.
Read guide - · 9 min read
Linux Error Guide: 'NIC Link is Down' Adapter Resets and Carrier Loss
Fix 'NIC Link is Down', 'Reset adapter' and Tx Unit Hang errors in dmesg. Diagnose carrier loss, autoneg mismatches and ring buffers with ethtool.
Read guide - · 9 min read
Linux Error Guide: 'TCP: out of memory -- consider tuning tcp_mem' Socket Memory Pressure
Fix the Linux 'TCP: out of memory' and 'Out of socket memory' errors: tune tcp_mem pages, size socket buffers, cap orphaned sockets, and stop dropped data.
Read guide - · 11 min read
Btrfs Subvolumes and Snapshots: Instant Rollback for Linux Admins
Btrfs subvolumes and copy-on-write snapshots give you instant, cheap rollback before risky changes. Here's how to lay them out and use AI to plan a safe rollback.
Read guide - · 11 min read
Choosing a Linux Filesystem in 2026: ext4 vs XFS vs Btrfs vs ZFS
ext4, XFS, Btrfs, or ZFS? A practical, opinionated guide to picking a Linux filesystem by workload, with the trade-offs that matter and AI to pressure-test the choice.
Read guide - · 10 min read
Securing Linux Time Sync with chrony and NTS (Network Time Security)
Unauthenticated NTP lets an attacker move your clock and break TLS, Kerberos, and logs. Here's how to deploy chrony with NTS for authenticated time, with AI help.
Read guide - · 10 min read
Debugging the Linux ARP and Neighbor Table with ip neigh
Stale ARP entries, FAILED neighbor states, and gratuitous ARP cause baffling intermittent connectivity. Here's how to read the Linux neighbor table and fix it with AI help.
Read guide - · 9 min read
Linux Error: bind: Address already in use — Cause, Fix, and Troubleshooting Guide
How to fix bind: Address already in use (EADDRINUSE) on Linux. Find the listener with ss and lsof, clear TIME_WAIT, and untangle systemd socket conflicts.
Read guide - · 10 min read
Linux Error: Cannot allocate memory — Cause, Fix, and Troubleshooting Guide
How to fix Cannot allocate memory on Linux: diagnose ENOMEM at fork/alloc time, overcommit policy, PID/thread ceilings, cgroup TasksMax, and per-user ulimits.
Read guide - · 9 min read
Linux Error Guide: 'command not found' PATH and Missing Packages
Fix the 'bash: command not found' error in Linux: diagnose missing packages, broken PATH, non-login shells, stale hash cache, sudo secure_path, and bad shebangs.
Read guide - · 10 min read
Linux Error Guide: 'Failed to start' systemd Service Won't Start
Fix the systemd 'Failed to start unit' error: diagnose status=203/EXEC missing binaries, bad WorkingDirectory/User, failed dependencies, start-limit-hit, and sandboxing.
Read guide - · 10 min read
Linux Error Guide: 'No space left on device' ENOSPC Disk and Inode Exhaustion
Fix the Linux 'No space left on device' (ENOSPC) error: diagnose full filesystems, inode exhaustion, deleted-but-open files, reserved blocks, and runaway logs.
Read guide - · 10 min read
Linux Error: Out of memory: Killed process — Cause, Fix, and Troubleshooting Guide
How to fix Out of memory: Killed process on Linux: diagnose host OOM vs cgroup memory.max, oom_score, overcommit, swap, and container exit code 137.
Read guide - · 10 min read
Linux Error Guide: 'Permission denied (publickey)' SSH Key Authentication Failures
Fix SSH 'Permission denied (publickey)': diagnose missing keys, authorized_keys, file permissions, StrictModes, wrong user, ssh-agent, and disabled key types.
Read guide - · 10 min read
Linux Error Guide: 'Read-only file system' EROFS Remounted Read-Only and Corruption
Fix the 'Read-only file system' (EROFS) error in Linux: diagnose kernel-forced remounts after I/O errors, fsck-needed corruption, failing disks, ro fstab, and RAID.
Read guide - · 10 min read
Linux Error: Too many open files — Cause, Fix, and Troubleshooting Guide
How to fix Too many open files (EMFILE/ENFILE) on Linux: diagnose ulimit -n, systemd LimitNOFILE, fs.file-max, fd leaks, and inotify watch exhaustion.
Read guide - · 10 min read
Writing polkit Rules on Linux: Fine-Grained Privilege Without sudo Sprawl
polkit decides who may do privileged desktop and systemd actions. Learn to read and write polkit rules safely, and use AI to decode actions and avoid over-granting.
Read guide - · 11 min read
Encrypted, Deduplicated Backups on Linux with restic and AI
How to set up restic for encrypted, deduplicated, snapshot-style Linux backups, automate them with systemd, and use AI to design a restore plan you can actually trust.
Read guide - · 10 min read
Inspecting Linux Sockets with ss (and Why netstat Is Lying to You)
ss replaces netstat with faster, richer socket inspection — accept queues, TCP internals, filters. Learn to drive it and use AI to turn socket state into a verdict.
Read guide - · 11 min read
Tuning Linux TCP Buffers and Network sysctls Without Cargo-Culting
Most network sysctl tuning is copy-pasted nonsense. Here's how to actually size TCP buffers, backlogs, and congestion control on Linux, with AI to sanity-check the math.
Read guide - · 11 min read
ZFS on Linux: Pools, Snapshots, and Scrubs for Data You Can't Lose
ZFS gives Linux admins checksummed integrity, instant snapshots, and self-healing storage. Here's how to run pools and scrubs sanely, with AI to read zpool status.
Read guide - · 10 min read
Decoding OpenSSL Commands on Linux with an AI Assistant
The openssl CLI has 50 subcommands and a man page from another era. Here's how to inspect certs, debug TLS handshakes, and let AI translate the cryptic flags.
Read guide - · 9 min read
Managing Disk Quotas on Linux with AI Assistance
User and group quotas stop one account from filling a shared filesystem. Here's how to enable, set, and report quotas with an AI assistant decoding the tooling.
Read guide - · 9 min read
Managing fstab and Mounts on Linux Without Locking Yourself Out
A bad fstab entry can stop a server from booting. Here's how to add mounts safely, test before reboot, and use AI to vet every line before it goes live.
Read guide - · 9 min read
Managing systemd-tmpfiles and Temp Directory Cleanup with AI
Runaway temp files quietly fill disks. Here's how to write systemd-tmpfiles.d rules to create and age out files, with an AI assistant vetting the syntax.
Read guide - · 10 min read
Migrating Linux Users and Groups Between Servers with AI
Moving accounts to a new box means matching UIDs, hashes, and group memberships without breaking file ownership. Here's a safe migration workflow with AI help.
Read guide - · 11 min read
Profiling Linux Performance with perf and an AI Copilot
perf is the most powerful Linux profiler nobody reads the output of. Here's how to capture flame graphs and let AI translate cryptic stacks into a fix plan.
Read guide - · 10 min read
Troubleshooting NFS and Samba Shares on Linux with an AI Copilot
Stale handles, permission mismatches, and hung mounts make file shares miserable. Here's a diagnostic workflow for NFS and Samba with AI decoding the errors.
Read guide - · 10 min read
Untangling systemd Boot Time with systemd-analyze and AI
Slow boots and tangled service dependencies hide in plain sight. Here's how to read systemd-analyze blame and critical-chain with an AI decoding the graph.
Read guide - · 9 min read
Writing udev Rules on Linux with AI Assistance
udev rules control how Linux names and reacts to devices, and the syntax is unforgiving. Here's how to inspect attributes and let AI draft rules you can verify.
Read guide - · 16 min read
The Best AI Prompts for Linux System Administrators
The best AI prompts for Linux system administrators give the model an expert persona, your real specifics, and a verification command plus a back-out path.
Read guide - · 10 min read
Bonding Network Interfaces for Redundancy and Throughput on Linux
Configure Linux NIC bonding modes like active-backup and 802.3ad LACP for redundancy and bandwidth using systemd-networkd, nmcli, and a little AI help.
Read guide - · 9 min read
Configuring logrotate to Stop Runaway Log Growth
Write and debug logrotate configs that keep Linux log directories from filling the disk, using AI as a fast junior pair to draft and test rotation rules.
Read guide - · 10 min read
Configuring Static and Dynamic Networking with systemd-networkd
Manage Linux network config with systemd-networkd .network and .netdev files instead of legacy ifupdown or NetworkManager, with AI help and a human in the loop.
Read guide - · 10 min read
Confining Linux Services with AppArmor Profiles
Learn to write, test, and enforce AppArmor profiles that confine Linux services using aa-genprof and audit logs, with AI help and a human in the loop.
Read guide - · 10 min read
Running Lightweight Containers with systemd-nspawn
Use systemd-nspawn and machinectl to run lightweight OS containers without Docker on Linux. Build rootfs, network, bind mount, and limit resources with AI help.
Read guide - · 10 min read
Managing GPG Keys and Encrypting Files on Linux
Generate GPG keys, encrypt and sign files, and manage trust, expiry, and backups on Linux servers, with AI help that keeps a human firmly in the loop.
Read guide - · 18 min read
The Most Common Linux Server Problems (and How to Fix Them)
The most common Linux server problems and how to fix them: disk full, high load, OOM killer, SSH lockout, DNS failures, and more — with real diagnostic commands.
Read guide - · 10 min read
Replacing setuid Root with Fine-Grained Linux Capabilities
Swap dangerous setuid root binaries for narrow Linux capabilities. Use setcap, getcap, getpcaps and systemd to grant only the privilege a process needs.
Read guide - · 11 min read
Understanding Linux Namespaces with unshare and nsenter
Explore Linux namespaces (PID, net, mount, user) with unshare and nsenter to demystify container isolation, with AI help acting as a fast junior pair.
Read guide - · 9 min read
Watching Filesystem Events with inotify on Linux
Learn to react to filesystem changes with inotifywait, inotifywatch, and incron on Linux, plus systemd path units and AI help to write the glue scripts.
Read guide - · 10 min read
Auditing an Inherited Linux Server with AI: A Recon Playbook
Just inherited a mystery Linux server with no docs? Use this recon playbook plus AI to inventory services, cron jobs, users, and risks before you change a thing.
Read guide - · 11 min read
Automating systemd Unit Hardening with AI
Use systemd's sandboxing directives to lock down services, read systemd-analyze security scores, and let AI draft hardening overrides you review before applying.
Read guide - · 11 min read
Building a Repeatable Linux Log Triage Workflow with an AI Copilot
Turn ad-hoc log spelunking into a repeatable triage workflow. Centralize logs, build a copilot loop, and let AI surface root cause from journald and rsyslog noise.
Read guide - · 10 min read
Debugging Linux Processes with strace and ltrace (and AI)
Use strace and ltrace to see exactly what a misbehaving Linux process is doing at the syscall level, and let AI translate dense traces into a clear root cause.
Read guide - · 11 min read
Linux Backup and Restore with rsync and Borg (Done Right)
Build reliable Linux backups with rsync and BorgBackup: deduplication, encryption, retention, and tested restores. Use AI to draft and review your backup scripts.
Read guide - · 10 min read
AI-Assisted Linux Patching: Safe apt and dnf Workflows
Plan and apply package updates on Ubuntu, Debian, and RHEL safely. Use AI to read changelogs, triage held packages, and draft a rollback plan before you patch.
Read guide - · 10 min read
Managing TLS Certificates with Certbot and Let's Encrypt
Issue, renew, and debug Let's Encrypt certificates with Certbot on Linux. Handle DNS challenges, automate renewals, and use AI to decode openssl and ACME errors.
Read guide - · 11 min read
Recovering Corrupted Linux Filesystems with fsck (and AI)
A calm, step-by-step guide to running fsck on ext4 and XFS, reading the errors, and using AI to interpret filesystem damage before you risk making it worse.
Read guide - · 9 min read
Triaging a Full Disk on Linux: df, du, inodes, and AI
When a Linux server runs out of disk, find the culprit fast. Hunt down space and inode exhaustion with df, du, and ncdu, and use AI to triage the output safely.
Read guide - · 12 min read
Best AI Tools for Linux Admins in 2026 (Tested & Ranked)
A hands-on, honest roundup of the AI tools a Linux sysadmin actually benefits from in 2026 — assistants, AI editors, terminals, log analysis, and hardening.
Read guide - · 9 min read
Blocking Brute-Force Attacks with fail2ban on Linux
fail2ban watches your logs and bans attackers automatically. Here's how to configure jails, filters, and bantime to lock down SSH and web services.
Read guide - · 9 min read
CPU Affinity and Core Isolation for Latency-Sensitive Linux Workloads
Pinning processes to CPUs and isolating cores can slash tail latency. Here's how to use taskset, isolcpus, and cgroups to control where work runs.
Read guide - · 9 min read
Debugging DNS Resolution with systemd-resolved on Linux
systemd-resolved quietly took over DNS on most modern distros. Here's how it actually resolves names, and how to debug it when resolution mysteriously breaks.
Read guide - · 9 min read
Exploring /proc and /sys: The Linux Admin's Window Into the Kernel
The /proc and /sys filesystems expose the kernel's live state as files. Here's a practical tour of the entries that solve real troubleshooting problems.
Read guide - · 8 min read
Managing Linux Kernel Modules with modprobe, lsmod, and modinfo
Kernel modules load drivers and features on demand. Here's how to inspect, load, blacklist, and configure modules safely without breaking boot.
Read guide - · 9 min read
Managing Software RAID with mdadm: Building, Monitoring, and Recovering
Software RAID with mdadm is rock-solid when you understand it. Here's how to build arrays, monitor health, and recover from a failed disk without losing data.
Read guide - · 9 min read
Modern Linux Networking with ip and iproute2 (Stop Using ifconfig)
ifconfig and route have been deprecated for years. Here's the iproute2 toolset every Linux admin should know, with the ip commands that replace the old ones.
Read guide - · 8 min read
Setting Linux Resource Limits with ulimit, limits.conf, and systemd
Too many open files and runaway processes come down to resource limits. Here's how ulimit, limits.conf, and systemd directives really interact.
Read guide - · 9 min read
Taming the Linux OOM Killer: Tuning Out-of-Memory Behavior
The OOM killer always seems to kill the wrong process. Here's how Linux decides what to kill, and how to tune oom_score, cgroups, and overcommit to control it.
Read guide - · 8 min read
Auditing Linux Server Hardening with Lynis
Lynis tells you what's weak about a server in two minutes flat. Here's how I use it to drive real hardening instead of chasing a vanity score.
Read guide - · 9 min read
Encrypting Linux Disks with LUKS Without Losing Your Data
Disk encryption is non-negotiable for anything that leaves the data center. Here's how I set up and manage LUKS without bricking the volume or losing the only key.
Read guide - · 8 min read
Keeping Linux Clocks in Sync with chrony and NTP
Clock drift causes weird, expensive bugs that look like everything except a time problem. Here's how I keep Linux servers in sync with chrony.
Read guide - · 9 min read
Linux auditd: Tracking Who Did What on Your Servers
When something changes on a server and nobody owns up, auditd has the answer. Here's how I configure the Linux audit subsystem without drowning in noise.
Read guide - · 9 min read
Migrating from iptables to nftables: A Practical Firewall Guide
iptables is on its way out and nftables is the replacement. Here's how I migrate real firewalls without locking myself out or dropping traffic.
Read guide - · 9 min read
Tracing Linux with bpftrace and eBPF: A Practical Guide
When strace is too slow and metrics are too coarse, eBPF lets you ask the kernel exactly what you want. Here's how I use bpftrace to find the answer fast.
Read guide - · 9 min read
Troubleshooting Linux Boot Failures: GRUB and initramfs
A server that won't boot is the scariest kind of outage. Here's how I work through GRUB, initramfs, and emergency shells methodically instead of in a panic.
Read guide - · 8 min read
Tuning Linux Swap and zram for Better Memory Performance
Swap isn't evil and turning it off isn't a tuning strategy. Here's how I configure swap, swappiness, and zram so memory pressure degrades gracefully.
Read guide - · 8 min read
Analyzing journald Logs with journalctl and AI
The journalctl filters that actually matter, how to scope logs to the moment things broke, and using AI to turn a wall of journal output into a root cause.
Read guide - · 8 min read
Cron vs systemd Timers: Scheduling Jobs on Linux in 2026
When to use cron, when to use systemd timers, how to debug a job that never ran, and using AI to translate crontab syntax and write timer units.
Read guide - · 8 min read
Debugging systemd Services That Won't Start (With AI Help)
A failed systemd unit, the commands that actually tell you why, and how to use AI to read the noise so you fix the right thing the first time.
Read guide - · 9 min read
Diagnosing High Load on Linux: CPU, Memory, and I/O
What load average really means, the tools that separate a CPU problem from an I/O wait problem, and using AI to read the metrics so you fix the actual bottleneck.
Read guide - · 9 min read
Fixing SELinux Denials Without Disabling It
How to read SELinux denials, fix them with contexts and booleans instead of setenforce 0, and use AI to translate audit logs into the right policy fix.
Read guide - · 9 min read
Hardening SSH on Linux Servers: A Practical Checklist
The sshd_config changes that actually reduce attack surface, how to roll them out without locking yourself out, and using AI to audit your config.
Read guide - · 9 min read
Managing LVM and Resizing Disks on Linux Without Data Loss
How LVM actually layers, the exact command order to grow a volume online, and using AI to sanity-check disk operations before you run something irreversible.
Read guide - · 8 min read
Managing sudo and Linux Permissions Without Footguns
How to grant least-privilege sudo access, read permission and ownership the way the kernel does, and use AI to audit sudoers without breaking root access.
Read guide - · 9 min read
Troubleshooting Linux Network Connectivity Layer by Layer
A repeatable method for 'I can't connect' problems — interface, route, DNS, port, firewall — and using AI to read ss, ip, and tcpdump output fast.
Read guide - · 7 min read
How to Use Claude to Troubleshoot Linux Servers
A practical, copy-pasteable workflow for using Claude to diagnose production Linux issues — including the prompt structure, what to paste, and what not to.
Read guide - · 8 min read
The Best AI Tools for DevOps Engineers in 2026
An honest, hands-on review of the AI assistants that actually help DevOps engineers, SREs, and cloud admins do real infrastructure work in 2026.
Read guide - · 7 min read
ChatGPT vs Claude for Infrastructure Engineers
A side-by-side comparison of ChatGPT and Claude for real infrastructure work — Linux troubleshooting, IaC, alerting, postmortems, and Kubernetes.
Read guide
Recommended tools
-
Claude
by Anthropic
4.8The most cautious and context-aware AI assistant for infrastructure work.
- Best for
- Production troubleshooting, postmortems, IaC review
- Pricing
- Free tier; Pro $20/mo; Team & Enterprise tiers
Read review -
Cursor
by Anysphere
4.7The AI-first code editor that understands your whole repo.
- Best for
- Editing real IaC repos — Helm charts, Terraform modules, K8s operators
- Pricing
- Free tier (limited); Pro $20/mo; Business $40/seat/mo
Read review -
ChatGPT
by OpenAI
4.6The broadest AI ecosystem with deep plugin support and the largest user community.
- Best for
- Ansible/Terraform generation, fast scaffolding, plugin-heavy workflows
- Pricing
- Free tier; Plus $20/mo; Team & Enterprise tiers
Read review -
Gemma
by Google DeepMind
4.4Open-weights LLM family that runs locally — for air-gapped ops, on-prem inference, and privacy-sensitive infrastructure work.
- Best for
- Air-gapped incident response, on-prem log analysis, cost-controlled bulk processing
- Pricing
- Free — open weights under Gemma terms of use; commercial use permitted
Read review -
Warp
by Warp
4.3An AI-native terminal that suggests commands in natural language.
- Best for
- Terminal-native workflows where context-switching kills focus
- Pricing
- Free tier; Pro $15/mo; Team & Enterprise tiers
Read review