Bash Linux
Bash command reference covering chaining, file, process, text, network, and scripting patterns for Linux and macOS.
- CCM score
- 45 of 100
- skills.sh installs
- 226
- GitHub stars
- 8.2K
- last updated
- Jun 3, 2026
Own this skill? Claim it
What it does
- Covers operator chaining, file and process management, text processing, environment variables, and networking commands
- Includes a script template with
set -euo pipefail, logging helpers, and amainentry point, plus common patterns for loops and file reads - Provides a PowerShell-to-Bash comparison table and error handling guidance covering
trapcleanup andsetoptions - Designed for work on macOS or Linux systems and writing bash scripts, not for Windows or PowerShell environments
Install
$ npx -y skills add vudovn/ag-kit --skill bash-linux -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
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 |
Details
- Repository
- github.com/vudovn/ag-kit
- Category
- CLI & Terminal
- First seen
- Jun 3, 2026
Questions
What does the bash-linux skill cover?
The bash-linux skill gives the agent Bash and Linux terminal patterns for macOS or Linux systems. It covers operator chaining, file operations, process management, text processing, environment variables, network commands and a script template.
How do I install the bash-linux skill?
Run npx -y skills add vudovn/ag-kit --skill bash-linux -y in a project. After that the agent can use the Bash and Linux patterns when writing scripts or running terminal commands.
When should I use the bash-linux skill instead of a PowerShell approach?
Use it when working on macOS or Linux systems, writing bash scripts, or using terminal commands. The skill says it is not meant for Windows or PowerShell environments and includes a table comparing PowerShell and Bash commands.
Which tools does the bash-linux skill allow the agent to use?
The skill declares Read, Write, Edit, Glob, Grep and Bash as its allowed tools. It needs no separate account or API key according to its SKILL.md.
Where does the bash-linux skill sit in the CLI and Terminal category?
It is listed in the CLI and Terminal category on Claude Marketplaces. It focuses on error handling, piping and safe scripting patterns such as set -euo pipefail and trap-based cleanup.
More from vudovn/ag-kit
All 30- I18n Localization226
- Vulnerability Scanner222
- Plan Writing219
- Testing Patterns218
- Tailwind Patterns216
- Api Patterns215
- Deployment Procedures214
- Performance Profiling214
- Behavioral Modes213
- Python Patterns207
- Parallel Agents204
- Documentation Templates200
- Seo Fundamentals200
- Frontend Design493
- Mobile Design427
- Powershell Windows425
- Code Review Checklist339
- Webapp Testing334
- Clean Code317
- Systematic Debugging298
- Game Development282
- Intelligent Routing274
- Database Design272
- Mcp Builder244
Similar to Bash Linux
More CLI & Terminalbash-masterjosiahsiegel/claude-plugin-marketplace469 installsExpert Bash scripting guide covering safety, portability across Linux, macOS, WSL, Git Bash, and containers.
bash-prosickn33/agentic-awesome-skills988 installsDefensive Bash scripting guide for production automation, CI/CD pipelines, and portable system utilities with strict error handling.
linux-shell-scriptingsickn33/agentic-awesome-skills181 installsProduction-ready bash templates for Linux admin tasks: backups, monitoring, users, logs, and automation.
bash-scriptingmindrally/skills942 installsShell scripting conventions for secure, portable, and well-handled automation scripts in DevOps work.
shellpproenca/dot-skills718 installsShell scripting guide of 49 rules for safe, portable, and maintainable bash and POSIX sh scripts.