Explainshell.com – match command-line arguments to their help text

https://explainshell.com/
{
"by": "aragonite",
"descendants": 0,
"id": 40244933,
"score": 2,
"time": 1714719368,
"title": "Explainshell.com – match command-line arguments to their help text",
"type": "story",
"url": "https://explainshell.com/"
}
{
"author": "Idan Kamara",
"date": null,
"description": "match command-line arguments to their help text",
"image": null,
"logo": null,
"publisher": "explainshell.com",
"title": "explainshell.com - match command-line arguments to their help text",
"url": "https://explainshell.com/"
}
{
"url": "https://explainshell.com/",
"title": "explainshell.com - match command-line arguments to their help text",
"description": "examples :(){ :|:& };: for user in $(cut -f1 -d: /etc/passwd); do crontab -u $user -l 2>/dev/null; done ...",
"links": [
"https://explainshell.com/"
],
"image": "",
"content": "<div>\n <h3>examples</h3>\n <ul>\n <li><a target=\"_blank\" href=\"https://explainshell.com/explain?cmd=%3A%28%29%7B%20%3A%7C%3A%26%20%7D%3B%3A\">:(){ :|:&amp; };:</a></li>\n <li><a target=\"_blank\" href=\"https://explainshell.com/explain?cmd=for%20user%20in%20%24%28cut%20-f1%20-d%3A%20/etc/passwd%29%3B%20do%20crontab%20-u%20%24user%20-l%202%3E/dev/null%3B%20done\">for user in $(cut -f1 -d: /etc/passwd); do crontab -u $user -l 2&gt;/dev/null; done</a></li>\n <li><a target=\"_blank\" href=\"https://explainshell.com/explain?cmd=file%3D%24%28echo%20%60basename%20%22%24file%22%60%29\">file=$(echo `basename \"$file\"`)</a></li>\n <li><a target=\"_blank\" href=\"https://explainshell.com/explain?cmd=true%20%26%26%20%7B%20echo%20success%3B%20%7D%20%7C%7C%20%7B%20echo%20failed%3B%20%7D\">true &amp;&amp; { echo success; } || { echo failed; }</a></li>\n <li><a target=\"_blank\" href=\"https://explainshell.com/explain?cmd=cut%20-d%20%27%20%27%20-f%201%20/var/log/apache2/access_logs%20%7C%20uniq%20-c%20%7C%20sort%20-n\">cut -d ' ' -f 1 /var/log/apache2/access_logs | uniq -c | sort -n</a></li>\n <li><a target=\"_blank\" href=\"https://explainshell.com/explain?cmd=tar%20zcf%20-%20some-dir%20%7C%20ssh%20some-server%20%22cd%20/%3B%20tar%20xvzf%20-%22\">tar zcf - some-dir | ssh some-server \"cd /; tar xvzf -\"</a></li>\n <li><a target=\"_blank\" href=\"https://explainshell.com/explain?cmd=tar%20xzvf%20archive.tar.gz\">tar xzvf archive.tar.gz</a></li>\n <li><a target=\"_blank\" href=\"https://explainshell.com/explain?cmd=find%20.%20-type%20f%20-print0\">find . -type f -print0</a></li>\n <li><a target=\"_blank\" href=\"https://explainshell.com/explain?cmd=ssh%20-i%20keyfile%20-f%20-N%20-L%201234%3Awww.google.com%3A80%20host\">ssh -i keyfile -f -N -L 1234:www.google.com:80 host</a></li>\n <li><a target=\"_blank\" href=\"https://explainshell.com/explain?cmd=git%20log%20--graph%20--abbrev-commit%20--pretty%3Doneline%20origin..mybranch\">git log --graph --abbrev-commit --pretty=oneline origin..mybranch</a></li>\n </ul>\n </div>",
"author": "Idan Kamara",
"favicon": "",
"source": "explainshell.com",
"published": "",
"ttr": 16,
"type": ""
}