referencecommandsReferenceBeginner
Commands Reference Library
Fast, searchable CLI command reference with copy-paste ready syntax, flag breakdowns, and common usage examples.
Verified: 2026-09-30
#commands#cli#terminal#reference
Overview
The OpenDevDocs Commands Library is built to give developers instant, copy-paste ready CLI syntax without scrolling through bloated manuals. Every command is tested, documented with common flag breakdowns, and explained with real-world use cases.
Browse Command Categories
| Tool / Category | Description | Featured Commands |
|---|---|---|
| Git | Branching, rebasing, squashing, cherry-picking, and commit recovery. | git reset --soft, git rebase -i |
| Docker | Container lifecycle, volume persistence, networking, and cleanup. | docker run, docker system prune |
| Linux | Process management, permissions, file search, and systemd daemons. | lsof -i :3000 -t | xargs kill -9 |
| Networking | Socket statistics, DNS lookups, SSL inspection, and latency tests. | ss -tulnp, curl -Iv |
| pnpm / Node | Deterministic package management, lockfile freezes, and script execution. | pnpm install --frozen-lockfile |
| PostgreSQL | Logical backups, database restores, user roles, and maintenance. | pg_dump -F c, pg_restore |
| SSH & Security | Cryptographic keypairs, agent forwarding, and remote server tunnels. | ssh-keygen -t ed25519 |
Featured Quick References
1. Undo Git Commit (Keep Changes Staged)
git reset --soft HEAD~1
See the full git reset --soft guide.
2. Kill Zombie Process on Port 3000
lsof -i :3000 -t | xargs kill -9
See the full Kill Process on Port guide.
3. Reclaim Docker Disk Space
docker system prune -a --volumes -f
See the full Docker system prune guide.
Contributing New Commands
All commands are stored in plain Markdown files in content/commands/<tool>/<command-name>.md.
To contribute a new command:
- Fork the repo and add a file under
content/commands/ - Include the strict frontmatter header with
type: reference - Add the command syntax, examples, flags table, when to use, and warnings
- Run
pnpm validate-contentand open a PR!