DEV Community

Tung Leo
Tung Leo

Posted on

cmd: A Command-Line Cheatsheet I Built So You Don't Have to Re-Google Commands 🔖

Intro

You've run journalctl -u your_service a hundred times. You've written the same kubectl one-liner to grab pod logs more times than you can count. And yet, every single time, you end up Googling it again, digging through old terminal history, or scrolling a Stack Overflow answer from years ago.

I got tired of that, so I started writing every command I actually use into one place. That place turned into cmd.

What it is

cmd is an open-source CLI commands reference — one page that collects the everyday commands software engineers, DevOps folks, and sysadmins reach for constantly, organized by tool so you can jump straight to what you need:

  • Linux, Bash Scripting, Vim, Tmux
  • Git & GitHub CLI
  • Docker, Kubernetes, Helm
  • Terraform, Ansible
  • AWS CLI, Azure CLI
  • PostgreSQL, MySQL, Redis
  • Python, Node.js/NPM, Make
  • Networking & troubleshooting, SSH, JQ
  • OpenSSL/certificates, PowerShell
  • And many more in the future...

Every entry is a plain, copy-pasteable command with just enough context to know when to use it — no fluff, no 10-paragraph explanation for a one-liner.

Below is the screenshot of the cheatsheet page tungbq.github.io/cmd in Dark mode:

Why it's useful

I built this for myself first — I was spending too much time re-searching things I already knew how to do. Writing it down once, in a place I could search fast, was the actual fix. Sharing it just means the next person doesn't have to lose that same time.

If you work across a mix of tools day to day (Linux boxes, Kubernetes clusters, Terraform, a handful of CLIs), the value isn't any single command — it's not having to context-switch out to a search engine to remember syntax you already know. Ctrl+F, copy, paste, back to work.

It's also open for contributions, so if your daily toolset isn't covered yet, adding it helps the next engineer who needed the same thing.

Try it

Hope it saves you a search or two. Happy hacking! 🚀

Top comments (0)