The exit status and $?, a condition on a command's status, curl -f and --max-time, set -euo pipefail, a service's environment and journal, flock. The questions follow the lessons “Exit status and a healthcheck” and “A script on a schedule: environment, log, lock”.
10 questions · threshold 70%