ExplainShell Breaks Down Long, Confusing Linux Commands

ExplainShell Breaks Down Long, Confusing Linux Commands
Facebook may have decided that you shouldn’t see the news, but we think you deserve to be in the know with Lifehacker Australia’s content. To sign up for our daily newsletter covering the latest news, hacks and reviews, head HERE. For a running feed of all our stories, follow us on Twitter HERE. Or you can bookmark the Lifehacker Australia homepage to visit whenever you need a fix.

Ever come across a tutorial online that tells you to run a long terminal command, but you want to know what each part of it actually means before you execute it? ExplainShell does exactly that: paste in the command, and it will tell you what each portion of the code does.

Obviously, you could do this yourself by searching through man pages — and we still recommend you read the man pages to learn more — but this is a really fast, helpful way to understand what you’re doing rather than just copying and pasting commands willy-nilly. For example, if a tutorial tells you to run:

iptables -A INPUT -i eth0 -s ip-to-block -j DROP

ExplainShell would explain that -i keyfile selects the file containing your key, -f runs it in the background, and so on. It doesn’t work with every command you’ll ever come across, but it’s a pretty handy tool to have in your arsenal. Hit the link below to check it out.

ExplainShell [via GHacks]