
Bash Linux
A solid reference card for bash essentials that covers what you actually need when working in the terminal. You get operator chaining, file operations, process management, and text processing tools in quick-reference tables. The script template with error handling flags (set -euo pipefail) is genuinely useful, and the PowerShell comparison table helps if you're coming from Windows. It's not trying to teach bash from scratch, just giving you the commands and patterns you'll reach for when debugging a process, grepping logs, or writing a deployment script. Keep it open when you need syntax you use monthly but can never quite remember.
- skills.sh installs
- 405
- GitHub stars
- 33.2K
- last updated
- Aug 21, 2026
Install
$ npx -y skills add davila7/claude-code-templates --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/davila7/claude-code-templates
- Categories
- Debugging, CLI & Terminal
- First seen
- Jun 3, 2026
More from davila7/claude-code-templates
All 618- App Store Optimization404
- Telegram Bot Builder403
- Treatment Plans403
- Micro Saas Launcher401
- Ai Product399
- Paper 2 Web399
- Best Practices398
- Json Canvas397
- Hypothesis Generation396
- Notion Research Documentation396
- Social Content396
- Sympy396
- Mcp Builder395
- Pytorch Fsdp395
- Interactive Portfolio394
- Obsidian Bases394
- Qa Test Planner394
- Railway Deployment394
- Subagent Driven Development394
- Vulnerability Scanner394
- Design System Starter393
- Using Superpowers393
- Venue Templates393
- Rag Engineer392
Recommended
More Debugging1
framer-code-components-overridesfredm00n/framerlabsCreate Framer Code Components and Code Overrides. Use when building custom React components for Framer, writing Code Overrides (HOCs) to modify canvas elements,404skills.sh installs
2
syncfusion-blazor-licensesyncfusion/blazor-ui-components-skillsGenerate, register, secure, validate, and troubleshoot Syncfusion Blazor license keys across all Blazor project types403skills.sh installs
3
azure-functionsmicrosoftdocs/agent-skillsExpert knowledge for Azure Functions development including troubleshooting, best practices, decision making, architecture & design patterns, limits & quotas, se398skills.sh installs
4
multi-ai-consultantsecondsky/claude-skillsConsult external AIs (Gemini 2.5 Pro, OpenAI Codex, Claude) for second opinions. Use for debugging failures, architectural decisions, security validation, or ne397skills.sh installs
5
railway-deploymentdavila7/claude-code-templatesManage Railway deployments - view logs, redeploy, restart, or remove deployments. Use for deployment lifecycle (remove, stop, redeploy, restart), deployment vis394skills.sh installs
6
next-best-practicespedronauck/skillsNext.js best practices - file conventions, RSC boundaries, data patterns, async APIs, metadata, error handling, route handlers, image/font optimization, bundlin394skills.sh installs