Coding & Dev
Intermediate
🔥 Trending
Bash Automation Script Helper-3
Draft robust Bash scripts for system automation, backups, or deployments.
👁️ 1867 views
❤️ 71 likes
📋 117 copies
The Prompt Template
Write a robust Bash script that automates: [TASK_DESCRIPTION]. Requirements: 1) Use strict mode (set -euo pipefail), 2) Include logging with timestamps, 3) Gracefully handle failures and clean up temporary files, 4) Check for required tools before running, 5) Validate input parameters, 6) Print progress indicators to stdout.
326 characters
Tags
Works Best With
ChatGPT Claude