Linux Command Explainer & CLI Cheatsheet

Paste a shell command to break it down flag-by-flag — including pipes and redirects — or browse a searchable cheatsheet of 40+ common Linux commands with real examples. Everything runs locally in your browser.

Breakdown {{ tokenCount }} tokens

{{ input.trim() }}
Enter a command above to see each part explained.

Files touched by redirects:

Commands {{ filteredCmds.length }}

No commands match “{{ search }}”.

{{ activeCmd.name }} {{ categoryName(activeCmd.cat) }}

{{ activeCmd.desc }}

{{ activeCmd.syntax }}

All commands{{ totalCmds }}

Every command in the cheatsheet, with its syntax and most-used options. Use the search above to jump to one.

About this tool

This is an explainshell-style command parser plus a CLI cheatsheet, both running entirely in your browser — no man-page servers are contacted and nothing you type is sent anywhere.

The Explain tab tokenizes a command (respecting 'quotes', "quotes" and $(command substitution), including nested/spaced ones), splits it on pipes and operators like |, &&, ;, >, then annotates the command, each flag (including bundled short flags such as -xzvf and value-taking options like -name), and every operand.

It recognizes sudo, env, nice and xargs as wrapper commands — and inline VAR=value prefixes — and recurses through any chain of them (e.g. sudo env FOO=bar xargs -n1 rm) so the real command underneath gets its own flags explained, not swallowed as an operand of the wrapper in front of it. A redirect's target (> file, >> file, < file) is labeled as the file it is, not misread as a second command, and a "Files touched by redirects" line summarizes them.

The Cheatsheet tab covers 79 everyday commands across files, search, permissions & users, archives, remote/transfer, networking, processes and text, and ends with a full alphabetical reference of all of them. Click Explain on any example to send it straight to the parser.

Coverage is a curated subset of the most-used flags, not a full man page. Always double-check destructive commands (rm, find -delete, dd) before running them.