Bash Linux
Bash and Linux terminal reference covering operators, file, process, text, and network commands with script safety patterns.
- CCM score
- 58 of 100
- skills.sh installs
- 406
- GitHub stars
- 34.3K
- last updated
- Aug 21, 2026
Own this skill? Claim it
What it does
- Covers operator chaining, file operations, process management, text processing, environment variables, and networking
- Includes a script template using
set -euo pipefail, atrapcleanup pattern, and reusable idioms likecommand -vandwhile readloops - Provides a PowerShell-to-Bash comparison table for translating common tasks between shells
- Designed for working on macOS or Linux systems where shell commands are the primary interface
Install
$ npx -y skills add davila7/claude-code-templates --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/davila7/claude-code-templates
- Category
- CLI & Terminal
- First seen
- Jun 3, 2026
Questions
What does the bash-linux skill do?
The bash-linux skill covers Bash terminal patterns for Linux and macOS systems, including operator syntax, piping, error handling and scripting. It gives the agent reference tables for file operations, process management, text processing, environment variables and network commands. The bash-linux skill also includes a script template with set -euo pipefail and a trap for cleanup.
How do I install the bash-linux skill?
Run npx -y skills add davila7/claude-code-templates --skill bash-linux -y in your project to install it. After that, the bash-linux skill lets the agent write and check shell commands and scripts on macOS or Linux machines.
Which skills lead the CLI and Terminal category where bash-linux is listed?
The bash-linux skill sits in the CLI and Terminal category on Claude Marketplaces, next to herdr, gws-shared, opentui, cf-cli and pnpm. Its SKILL.md is aimed at everyday shell work, with the bash-linux skill's tables showing Bash equivalents of PowerShell commands.
Does the bash-linux skill need any tools or accounts before I use it?
The bash-linux skill lists Read, Write, Edit, Glob, Grep and Bash as its allowed tools, so it runs inside an agent that has those tools. The bash-linux skill needs no API key or account in its SKILL.md.
More from davila7/claude-code-templates
All 398- Email Composer406
- Treatment Plans406
- App Store Optimization405
- Micro Saas Launcher401
- Interactive Portfolio400
- Paper 2 Web400
- Ai Product399
- Sympy397
- Vulnerability Scanner397
- Hypothesis Generation396
- Pytorch Fsdp395
- Using Superpowers395
- Railway Deployment394
- Documentation Templates393
- Spreadsheet393
- Venue Templates393
- Rag Engineer392
- Stripe Integration392
- Firebase390
- Isms Audit Expert390
- Prisma Expert386
- Clinical Decision Support385
- Pydicom384
- Transformers384
Similar to Bash Linux
More CLI & Terminalbash-masterjosiahsiegel/claude-plugin-marketplace467 installsExpert Bash scripting guide covering safety, portability across Linux, macOS, WSL, Git Bash, and containers.
bash-scriptingmindrally/skills935 installsShell scripting conventions for secure, portable, and well-handled automation scripts in DevOps work.
bash-prosickn33/agentic-awesome-skills985 installsDefensive Bash scripting guide for production automation, CI/CD pipelines, and portable system utilities with strict error handling.
shellpproenca/dot-skills717 installsShell scripting guide of 49 rules for safe, portable, and maintainable bash and POSIX sh scripts.