Skip to content

Tag: cli

All the articles with the tag "cli".

DNS Troubleshooting from the Command Line

DNS Troubleshooting from the Command Line

· Updated:

DNS broke again. The command sequence that finds it: verify the resolver, reach a server, dig the record, trace the query path, check reverse lookups.

curl Flags Every Developer Should Know

curl Flags Every Developer Should Know

· Updated:

Master the curl flags that'll save you hours debugging APIs, downloads, and web requests. From -X to --compressed, here's what actually matters.

Here Documents vs Here Strings in Bash

Here Documents vs Here Strings in Bash

· Updated:

Bash heredocs and here strings explained: <<EOF for multiline input, <<-EOF for tab-indented blocks, <<<string for single lines, and when to use each.

jq One-Liners Every Sysadmin Needs

jq One-Liners Every Sysadmin Needs

· Updated:

jq is JSON on the command line. Here are 5 one-liners that actually solve real problems: filtering, extracting, transforming, combining, and debugging.

ss Is the New netstat (And It's Better)

ss Is the New netstat (And It's Better)

· Updated:

ss replaces netstat on modern Linux: faster, shows more socket detail, and reads from the kernel. Every netstat command you rely on, rewritten for ss.