
Bash Linux
A solid reference card for bash fundamentals that covers the stuff you actually use: command chaining with operators, file operations, process management, and text processing with grep/sed/awk. The script template with set -euo pipefail is good boilerplate, and the comparison table against PowerShell helps if you switch between systems. Nothing groundbreaking here, just a well-organized cheat sheet that saves you from googling "how to kill process on port" for the hundredth time. The error handling section with trap for cleanup is a nice touch that beginners often miss.
- skills.sh installs
- 116
- GitHub stars
- 7.6K
- last updated
- Jun 3, 2026
Install
$ npx -y skills add vudovn/antigravity-kit --skill bash-linux --agent claude-codeInstalls into .claude/skills of the current project.
Files
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 |
|---|---|
| List all | ls -la |
| Find files | find . -name "*.js" -type f |
| File content | cat file.txt |
| First N lines | head -n 20 file.txt |
| Last N lines | tail -n 20 file.txt |
| Follow log | tail -f log.txt |
| Search in files | grep -r "pattern" --include="*.js" |
| File size | du -sh * |
| Disk usage | df -h |
3. Process Management
| Task | Command |
|---|---|
| List processes | ps aux |
| Find by name | ps aux | grep node |
| Kill by PID | kill -9 <PID> |
| Find port user | lsof -i :3000 |
| Kill port | kill -9 $(lsof -t -i :3000) |
| Background | npm run dev & |
| Jobs | jobs -l |
| Bring to front | fg %1 |
Sponsors
Promote your product hereReach 125k+ visitors monthlyPromote your product hereReach 125k+ visitors monthly
Agent CaffeineSponsoredClose your lid, come back to finished work
SnugSponsoredThe clipboard manager for the AI eraPromote your product hereReach 125k+ visitors monthly
WaxSponsoredBlock anything with supervision, without erasing your iPhonePromote your product hereReach 125k+ visitors monthly
knobsSponsoredSee your site on any phone, any day, in any language
Details
- Repository
- github.com/vudovn/antigravity-kit
- Category
- CLI & Terminal
- First seen
- Jun 3, 2026
More from vudovn/antigravity-kit
All 30- Behavioral Modes115
- Documentation Templates115
- Seo Fundamentals115
- Frontend Design320
- Code Review Checklist252
- Mobile Design239
- Webapp Testing212
- Clean Code197
- Systematic Debugging186
- Mcp Builder159
- Intelligent Routing157
- Architecture143
- Game Development141
- Database Design139
- Nodejs Best Practices138
- Testing Patterns138
- Brainstorming137
- Api Patterns131
- App Builder128
- Vulnerability Scanner127
- Deployment Procedures126
- Tailwind Patterns126
- Powershell Windows123
- I18n Localization122
Recommended
More CLI & Terminal1
spacetimedb-cliclockworklabs/spacetimedbSpacetimeDB CLI reference for initializing projects, building modules, publishing databases, querying data, and managing servers114skills.sh installs
4
adding-cli-commandhttps-deeplearning-ai/sc-agent-skills-filesProvides Typer templates, handles registration, and ensures consistency. ALWAYS use this skill when adding or modifying CLI commands. Use when user requests to 0skills.sh installs
5
generating-cli-testshttps-deeplearning-ai/sc-agent-skills-filesGenerate pytest tests for Typer CLI commands. Includes fixtures (temp_storage, sample_data), CliRunner patterns, confirmation handling (y/n/--force), and edge c0skills.sh installs
6
reviewing-cli-commandhttps-deeplearning-ai/sc-agent-skills-filesProvides checklist for reviewing Typer CLI command implementations. Covers structure, Annotated syntax, error handling, exit codes, display module usage, destru0skills.sh installs