Inspect a Linux process environment safely
Read a running process's initial environment from procfs, handle its null separators correctly, and avoid leaking secrets into terminals and tickets.
5 min read
Archive
45 articles
Page 2 of 4. Every story, newest first.
Popular topics
Read a running process's initial environment from procfs, handle its null separators correctly, and avoid leaking secrets into terminals and tickets.
5 min read
Use systemd-analyze, critical-chain, unit properties, and the journal to find where boot time went without mistaking duration for causation.
5 min read
Use logrotate's debug mode with a copied configuration, then inspect state and service scheduling before forcing a production rotation.
5 min read
Find a crashed process, review its metadata, export the core safely, and open it in a debugger without losing track of the exact executable.
5 min read
Map device names to filesystem UUIDs, partition UUIDs, labels, types, and mountpoints before editing storage configuration or replacing a disk.
4 min read
Separate clock display, synchronization state, source health, and service ownership when a Linux host reports the wrong time.
4 min read
Move through nftables families, tables, base chains, hooks, priorities, policies, matches, counters, and verdicts before proposing a firewall change.
5 min read
Inspect a running process's soft and hard limits, compare them with the launching shell or service, and reproduce a limit in a disposable child.
5 min read
Use ss to move from a port conflict to the exact listener, address, process, and file descriptor without guessing or killing the wrong service.
7 min read
Explain why the command you typed is not the executable you expected, then prove each resolution layer with portable and Bash-specific tools.
8 min read
Use SHA-256 to catch changed bytes, an OpenPGP signature to bind bytes to a key, and an independently checked fingerprint to establish trust.
7 min read
Parse calendar expressions, validate the timer and service as a pair, understand persistence and jitter, then enable only the unit you reviewed.
7 min read