Coding & Dev Intermediate 🔥 Trending

Bash Automation Script Helper

Draft robust Bash scripts for system automation, backups, or deployments.

👁️ 6904 views ❤️ 150 likes 📋 739 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
#bash #automation #scripts
Works Best With
ChatGPT Claude

Related Prompts