ExplainShell Breaks Down Long, Confusing Linux Commands

ExplainShell Breaks Down Long, Confusing Linux Commands

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]


Be the first to comment on this story!

Trending Stories Right Now