Bash Linux Patterns
Essential patterns for Bash on Linux/macOS.
1. Operator Syntax
Chaining Commands
| Operator | Meaning | Example | |----------|---------|---------| | ; | Run sequentially | cmd1; cmd2 | | && | Run if previous succeeded | npm install && npm run dev | | \|\| | Run if previous failed | npm test \|\| echo "Tests failed" | | \| | Pipe output | ls \| grep ".js" |
2. File Operations
Essential Commands
| Task | Command | |------|-----
[Description truncada. Veja o README completo no GitHub.]