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-code

Installs into .claude/skills of the current project.

Files

Bash Linux Patterns

Essential patterns for Bash on Linux/macOS.


1. Operator Syntax

Chaining Commands

OperatorMeaningExample
;Run sequentiallycmd1; cmd2
&&Run if previous succeedednpm install && npm run dev
||Run if previous failednpm test || echo "Tests failed"
|Pipe outputls | grep ".js"

2. File Operations

Essential Commands

TaskCommand
List allls -la
Find filesfind . -name "*.js" -type f
File contentcat file.txt
First N lineshead -n 20 file.txt
Last N linestail -n 20 file.txt
Follow logtail -f log.txt
Search in filesgrep -r "pattern" --include="*.js"
File sizedu -sh *
Disk usagedf -h

3. Process Management

TaskCommand
List processesps aux
Find by nameps aux | grep node
Kill by PIDkill -9 <PID>
Find port userlsof -i :3000
Kill portkill -9 $(lsof -t -i :3000)
Backgroundnpm run dev &
Jobsjobs -l
Bring to frontfg %1

Sponsors

Details

Repository
github.com/vudovn/antigravity-kit
Category
CLI & Terminal
First seen
Jun 3, 2026

More from vudovn/antigravity-kit

All 30
1clockworklabs avatarspacetimedb-cliclockworklabs/spacetimedbSpacetimeDB CLI reference for initializing projects, building modules, publishing databases, querying data, and managing servers114skills.sh installs
2agentscope-ai avatarmmx-cliagentscope-ai/openjudge>0skills.sh installs
3computerlovetech avataragr-clicomputerlovetech/agr>0skills.sh installs
4https-deeplearning-ai avataradding-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
5https-deeplearning-ai avatargenerating-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
6https-deeplearning-ai avatarreviewing-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