Part 04 / Topic 5 of 6
Shell essentials
On a customer's jump host there is no IDE — the shell is your toolbox. The 20% you use constantly:
curl -sS -H "Authorization: Bearer $ACME_TOKEN" \
"https://api.acme.internal/v1/shipments?page=1" | jq '.data[0]' # call + pretty-print
curl -sSv https://api.acme.internal/healthz 2>&1 | grep -i 'subject\|issuer' # inspect the TLS cert
grep -r "ERROR" logs/ | tail -20 # recent errors
echo $HTTPS_PROXY # what proxy am I behind?
ssh acme-jump "curl -s localhost:8080/healthz" # test from inside their network
curl reproduces any request outside your code; jq slices JSON; grep digs logs; env | grep -i proxy reveals the network you are actually on; ssh lets you test from the machine where the problem lives. If a request works in curl from the jump host but not in your tool, the difference is in your tool's headers, proxy handling, or TLS setup — and that is a short list to check.
Done here? The practice set for Part 4 — 4 exercises with solutions — is on the part page.