Overview
explainshell is a website that takes a shell command and explains it piece by piece. You paste or type a command line, press Explain, and each part of it, the program name, every flag and argument, and operators such as pipes, is matched to the relevant passage of help text from that program's manual page.
Behind the page is a database of tens of thousands of man pages taken from Linux distributions. A selector lets you choose which set to use: all of them, Arch Linux or a recent Ubuntu release. The command is parsed properly as shell syntax, so compound lines joined with pipes or && are broken down too. The home page offers example commands for tar, git and others to try.
It is useful when you meet an unfamiliar one-liner in a tutorial or script and want to know what it does before running it. The project is open source on GitHub under the GPLv3 and can be run locally with its downloadable database. There are no accounts and the page has a light and a dark theme.
Categories
Features
- Explains a pasted command line part by part
- Matches each flag and argument to the text of the program's man page
- Handles pipes, && and other shell operators
- Database built from tens of thousands of man pages
- Choice of man page source: all, Arch Linux or Ubuntu
- Built-in example commands to try
- Light and dark themes
- Open source under GPLv3 and can be run locally
Privacy
See the official privacy policy. No ad or analytics scripts were found in the home page HTML, and commands are sent to the server for matching.
Pros & Cons
Pros
- Quick way to check what a command does before running it
- Explanations come from the real manual pages, not guesses
- No account, and no ad scripts were found on the page
- Source code and database are available for self-hosting
Cons
- Only knows programs whose man pages are in its database
- The explanation is raw manual text, which can be terse for beginners
- Commands you enter are sent to the site's server to be matched
- Does not run or test the command, so it cannot warn about side effects
Community Reviews (0)
No written reviews yet — be the first to rate this tool.
Similar Tools
-
Developer ReferencesCross-browser compatibility tables for HTML, CSS, and JS features.
Free No Signup Web -
Developer References · BuiltWith
Detects the technology stack behind a website.
Freemium No Signup Web API -
Developer References · Wappalyzer
Identifies the technologies a website uses.
Freemium Web API -
Developer References · BuiltWith
Tracks web technology adoption trends over time.
Freemium No Signup Web API