Trace a Failing Linux Program with strace
Follow file, network, process, and signal system calls until a vague application error becomes a concrete errno and pathname.
7 min read
Topic
16 articles
Everyday Linux commands, flags, output, and safe diagnostic workflows.
Follow file, network, process, and signal system calls until a vague application error becomes a concrete errno and pathname.
7 min read
Handle spaces, quotes, newlines, empty matches, pruning, and expression precedence before a find command feeds another program.
6 min read
Use archive mode, trailing slashes, dry runs, itemized output, and deletion previews to turn an rsync command into a reviewable plan.
6 min read
Separate effective client configuration, DNS, TCP, host-key checks, authentication, and session startup without editing the server blindly.
6 min read
Use ip route get, policy rules, source selection, and network namespaces to explain one routing decision without sending a probe packet.
5 min read
Use openssl s_client and x509 to inspect a server certificate, verify its hostname, and check its expiration without guessing what the browser saw.
5 min read
Separate clock display, synchronization state, source health, and service ownership when a Linux host reports the wrong time.
4 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
Map a process's descriptor numbers to files, pipes, and sockets, then read fdinfo without consuming data or confusing a descriptor with a path.
7 min read
Generate an Ed25519 key in a disposable directory, compare public-key fingerprints, and install only the public half on a server.
9 min read