Skip to main content
⚑ OpenDevDocs
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 / CategoryDescriptionFeatured Commands
GitBranching, rebasing, squashing, cherry-picking, and commit recovery.git reset --soft, git rebase -i
DockerContainer lifecycle, volume persistence, networking, and cleanup.docker run, docker system prune
LinuxProcess management, permissions, file search, and systemd daemons.lsof -i :3000 -t | xargs kill -9
NetworkingSocket statistics, DNS lookups, SSL inspection, and latency tests.ss -tulnp, curl -Iv
pnpm / NodeDeterministic package management, lockfile freezes, and script execution.pnpm install --frozen-lockfile
PostgreSQLLogical backups, database restores, user roles, and maintenance.pg_dump -F c, pg_restore
SSH & SecurityCryptographic keypairs, agent forwarding, and remote server tunnels.ssh-keygen -t ed25519

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:

  1. Fork the repo and add a file under content/commands/
  2. Include the strict frontmatter header with type: reference
  3. Add the command syntax, examples, flags table, when to use, and warnings
  4. Run pnpm validate-content and open a PR!

On this page