promptengineering.sh · Apache-3 Inc.
Shell, Linux, cloud, and AI-CLI cheatsheets
.sh = shell. One-page reference cards for the commands working professionals actually use.
Shell, Linux, git, ssh, tmux, Docker, Kubernetes, cloud CLIs, SRE, security, and AI tools. Each cheatsheet is printable, free of fluff, and organized by what you're trying to do, not by command name.
Browse 100 cheatsheets
Filter by group or search by name. Quick sheets are one-page reference cards; deep guides add worked examples and troubleshooting tables. All free, all hand-written.
100 / 100
Foundations
30Shell
awk — column processing without writing a script
14 commands
Shell
Bash — scripting that does not bite back
deep guide
System
Computer Science 101 — data structures, Big O, and when the choice matters
deep guide
Shell
Environment variables — the shell, .env, and gotchas
14 commands
Shell
File permissions — chmod, chown, octal modes
10 commands
Shell
Finding files fast — find, fd, locate, ripgrep
12 commands
Git
Git — the 18 commands that get you through 99% of git use
18 commands
Git
Git Commands — branch, merge, rebase, and recover
deep guide
Git
GitHub & the gh CLI — PRs, issues, and runs from the terminal
deep guide
CI/CD
GitHub Actions — workflow patterns that come up daily
14 commands
CI/CD
GitHub Actions — workflows, triggers, and debugging failed runs
deep guide
CI/CD
GitLab CI/CD — pipelines, jobs, and runners
deep guide
macOS
Homebrew — package manager for macOS
12 commands
Shell + Data
jq — JSON processing on the command line
22 commands
Linux
Linux Commands — files, permissions, processes, logs & storage
deep guide
Build
Makefile — the patterns that work for small projects
12 commands
Build
npm / pnpm / yarn — comparison + when to use which
16 commands
Shell
openssl — cert, key, and crypto operations
14 commands
Node
pnpm — the package manager that does not fight you
14 commands
Shell
PowerShell — the Windows automation shell
deep guide
System
Process management — ps, kill, lsof, htop
12 commands
System
Python Fundamentals & Automation — scripts that read, validate, and report
deep guide
Text
Regex — the patterns you actually use
18 commands
Shell
rsync — the file-sync commands that cover daily work
14 commands
Shell
sed — find-and-replace and line edits that work in scripts
14 commands
Shell
Shell basics — the 20 commands that cover 90% of daily work
20 commands
Linux
systemd — manage Linux services
14 commands
Shell
tar + zip — create + extract archives
14 commands
Shell
Text manipulation — grep, awk, sed cheatsheet
15 commands
Editors
Vim survival — when you must edit on a server
16 commands
Cloud & DevOps
15IaC
Ansible — inventory, playbooks, and idempotent runs
deep guide
IaC
Ansible — playbook + ad-hoc command quickref
14 commands
Cloud
AWS CLI — auth, context, and everyday operations
deep guide
Cloud
Azure CLI — sign-in, subscriptions, and everyday operations
deep guide
Cloud
Cloud Cost Management — tagging, budgets, and killing a spend spike
deep guide
Cloud
Cloud Landing Zones — multi-account structure across AWS, GCP, Azure
deep guide
Containers
Docker — the 15 commands you need for daily container work
15 commands
Containers
Docker & Compose — build, run, debug containers
deep guide
Cloud
gcloud CLI — auth, projects, and everyday operations
deep guide
Containers
Helm — charts, releases, and templating Kubernetes
deep guide
Cloud + DevOps
kubectl — the 30 commands that cover 95% of kubernetes daily ops
30 commands
Containers
Kubernetes & kubectl — inspect, deploy, and roll out
deep guide
IaC
Terraform — plan, apply, state, and modules safely
deep guide
IaC
Terraform — the daily commands + good-defaults patterns
14 commands
Cloud
Vercel CLI — the commands that come up in daily work
18 commands
Troubleshooting
12Network
Common Ports — the port numbers you're asked to name
deep guide
Network
curl — HTTP from the terminal
12 commands
Network
Deep network troubleshooting — trace a request client to backend
deep guide
Network
HTTP & curl — make, read, and debug requests
deep guide
Containers
Kubernetes Troubleshooting — Pending, CrashLoopBackOff, and friends
deep guide
Network
Linux Networking & DNS — interfaces, routes, and name resolution
deep guide
Network
Nginx — reverse proxy, TLS termination, and debugging 502s
deep guide
Remote
SSH & File Transfer — keys, tunnels, scp, rsync, sftp
deep guide
Remote
ssh + tmux — remote work without losing your session
14 commands
Network
SSH port forwarding — local, remote, dynamic
6 commands
Remote
tmux — split screens, sessions, never lose work
14 commands
Observability
Uptime & Health Monitoring — health checks, synthetics, and status pages
deep guide
SRE
14AI CLI
AI SRE — operating LLMs and agents in production
deep guide
Reliability
AWS SRE — the first 15 minutes of an incident
deep guide
Reliability
Azure SRE — the first 15 minutes of an incident
deep guide
Reliability
Backup & Disaster Recovery — RPO, RTO, and a restore you have tested
deep guide
Observability
Datadog — APM, logs, and metrics in one stack
14 commands
Reliability
GCP SRE — the first 15 minutes of an incident
deep guide
Observability
Grafana — dashboards, alerts, and panel hygiene
16 commands
Observability
Observability & Incident Response — signals, triage, and resolution
deep guide
Observability
OpenTelemetry — the vendor-neutral observability standard
16 commands
Observability
Prometheus + PromQL — observability metrics that matter
18 commands
Reliability
SLOs and error budgets — the spec for reliability
12 commands
Reliability
SRE Fundamentals — SLIs, SLOs, error budgets, and burn-rate alerts
deep guide
System
System Design 101 — load balancing, caching, queues, and the trade-offs
deep guide
Observability
Uptime & Health Monitoring — health checks, synthetics, and status pages
deep guide
Security
8Security
Cloud IAM — roles, policies, and access-denied across AWS, GCP, Azure
deep guide
Security
DevSecOps & Supply Chain — scanning, SBOMs, signing, and least-privilege CI
deep guide
Security
gpg — encrypt, decrypt, sign, verify
14 commands
Security
OAuth 2.0, OIDC & JWT — flows, tokens, and validation
deep guide
Security
Secrets Management & Vault — store, rotate, and inject
deep guide
Security
Security Essentials
deep guide
Security
TLS Certificates & Lets Encrypt — issue, renew, and debug
deep guide
Security
Web App Security — the OWASP Top 10 in practice
deep guide
Data
8Data
Elasticsearch — indexing, querying, and debugging
deep guide
Data
JSON & jq — query, filter, transform, and build JSON
deep guide
Data
Kafka — topics, producers, consumers, and lag
deep guide
Databases
MongoDB — queries, indexes, and aggregation
deep guide
Databases
PostgreSQL — the psql + SQL commands that come up daily
16 commands
Databases
Redis — data types, caching patterns, and persistence
deep guide
Databases
Redis — the redis-cli commands that come up daily
18 commands
Databases
SQL & PostgreSQL — query, index, and explain
deep guide
AI
15AI CLI
Agentic AI — building blocks, the loop, and safe operation
deep guide
AI prompts
AI agent prompts — patterns for tool-using LLMs
10 commands
AI prompts
AI code review — prompt templates that catch real bugs
12 commands
AI prompts
AI data-analysis prompts — turn AI into a junior analyst
8 commands
AI prompts
AI documentation prompts — turn code into docs in minutes
8 commands
AI CLI
AI Output Evaluation — know if the model is actually right
deep guide
AI CLI
AI prompting — the five patterns every professional needs
5 commands
AI CLI
AI SRE — operating LLMs and agents in production
deep guide
AI CLI
AI-Assisted Coding & Code Review — ship with an AI pair
deep guide
AI CLI
claude CLI — running Claude Code from the terminal
12 commands
AI CLI
LLM APIs & Structured Outputs — calls, tools, and JSON you can trust
deep guide
AI Prompting
Prompt Engineering — reliable prompts that do what you asked
deep guide
AI CLI
RAG & Embeddings — retrieval-augmented generation that works
deep guide
AI Prompting
Regex debugging prompts — let AI explain your regex back to you
14 commands
AI Privacy
Working with AI on sensitive data — the redaction pattern
6 commands
What the cheatsheets cover
- Foundations 30 sheets
- Cloud & DevOps 15 sheets
- Troubleshooting 12 sheets
- SRE 14 sheets
- Security 8 sheets
- Data 8 sheets
- AI 15 sheets