
Bash Retry Function: Automatically Retry Failing Commands with Exponential Backoff
- Mohammad Abu Mattar
- Devops
- Shell scripting
- Automation
- Published: 20 Jul, 2026
Quick Tip Wrap any flaky command in one reusable retry function and stop re-running red pipelines by hand. The Problem The Problem Some commands fail for reasons that have nothing to

Check S3 Bucket Existence
- Mohammad Abu Mattar
- Aws
- Shell scripting
- Devops
- Published: 11 Jun, 2025
Quick Tip Don’t let your deployment blow up because of a missing S3 bucket. This Bash script lets you check if a bucket exists before anything fails clean and simple. The Problem Missi