shell-error-handling
Installation
SKILL.md
Shell Error Handling
Patterns for robust error handling, cleanup, and debugging in shell scripts.
Exit Codes
Standard Exit Codes
| Code | Meaning |
|---|---|
| 0 | Success |
| 1 | General error |
| 2 | Misuse of shell command |
| 126 | Command not executable |
| 127 | Command not found |
| 128+N | Fatal signal N |
| 130 | Ctrl+C (SIGINT) |