• Prefer explicit -n to check for output (or run command without [/[[ to check for success)
  • Problematic code:
  • Correct code:
  • Rationale:
  • Exceptions:
  • Related resources: