HN Hall of Fame Weekly email

Explain Shell

Screenshot of explainshell.com captured 2026-07-20
Page preview · captured 2026-07-20

The originally submitted URL now redirects to the address above. Updating the destination does not change the item’s HN history, Hall membership, or rank.

Resurfaced independently across 10 calendar years, with breakout response in 4 of them.

submissions
29
submitters
29
observed span
2013–2024
peak thread · 171 comments
1372 pts
latest 20+ return · 2022-05-30
130 pts

Submission timeline

2007–2026

One slot for every year since HN launched. Height is that year's peak points; orange marks a 100+ point or 50+ comment breakout. Select a bar to open its strongest thread.

First comments on top threads

HN comment order

I totally love this, it's already incredibly helpful! It's super-functional, and frankly it's very, very nice looking. To Mr. Idan Kamara, the creator of this, I have nothing but the highest praise! Now, I hate to get side-tracked, but for much larger commands, like this one: ps x -o "%r %c " | grep "someScript.sh" | awk -F' ' '{print $1}' | xargs -I % /bin/kill -TERM -- -% that has a lot of parts, it can be hard to…

Very nice! I fed it one of my favorite commands: git branch --merged | grep -v master | xargs -n 1 git branch -d and it dealt with it reasonably well. The only part it couldn't understand was `branch -d` at the end. In other words, it was not capable of recognizing that the non-option arguments to `xargs` should actually be recursively interpreted as a command-line.

sjrd·775-point thread·

Explain shell is something that has helped me a lot, but the situation of needing it left me baffled for so long... Why can't I search by command + flag? For example, I know what command A does, but I'm not sure what flag C means. I can search for man A, but why can't I search man A --flag C to get only the relevan portion of the manpage? This has baffled me for years. I'd have guessed that…

What a great idea. One of those clever ideas that are immediately obvious once you see them (but not before). I find man pages a chore to read, and that has definitely held back my skills, so if this actually works—i.e., you can type in any command and get a readable layout of what it does—I can definitely see using it. Edit: It might be tricky to make this robust enough across all valid commands. I tried a few variations…

gruseom·275-point thread·

The first top-level comment from each of the four biggest threads, in HN’s own order. Excerpts are shortened; open a comment for full context.

Breakout years
4

100+ points or 50+ comments

Total points
2993

reference only — not used in Hall rules or ranking

Total comments
434

reference only — not used in Hall rules or ranking

Every submission

DateTitle as submittedByPointsComments
2013-08-29Match command line arguments to their help textdataminer60
2013-08-29Explainshell – match command-line arguments to their help textFirst breakoutduck27582
2013-12-02Explain ShellBest threadauton11372171
2015-01-14Explain ShellExuma21
2015-12-09Explainshell – Visually see how shell commands workzachlatta20
2016-04-26Explain Shellz1mm32m4n10
2016-05-04Explainshellfjsousa41
2016-10-27Explain shell commandscheiVia010
2016-11-23A cute little tool to explain shell commandsmisio20
2017-01-02Write down a command-line to see the help text that matches each argumentBuuQu9hu30
2017-02-14Match Command-Line Arguments to Their Help Textxbuzz10
2017-02-28Explain Shelldiscr3t320
2017-03-29Explain ShellHall inductionaleem77585
2017-11-17Explainshellalvil21
2018-10-24Explainshell – match command-line arguments to their help textmariuz10
2019-01-20ExplainShell.comseanhandley20
2019-02-09Explain shellroyalharsh9532952
2020-03-25Explainshell: Write a commandline to see help text that matches each argumentcsomar10
2020-09-19Explain Shell: match command-line arguments to their help textColinWright6312
2020-10-02Write down a command-line to see the help text that matches each argumentOMGCable10
2022-03-22Explain Shellbogidon30
2022-04-01Explain Shellrg11110
2022-05-30Enter a command to see help text for each argLatest 20+ point returndr_mork13028
2023-10-05ExplainShell – Explain any Linux shell promptbubblehack3r30
2023-11-15Unix Commands Explained Interactivelylprd30
2024-01-19Explainshell – paste a command to see the help text that matches each argumentlagniappe20
2024-01-22Explainshell.com: write a command-line to see the text matching each argumentmarcodiego20
2024-05-03Explainshell.com – match command-line arguments to their help textaragonite20
2024-12-23explainshell: See the help text for each argument of a commandkaycebasques21