Join 6,000+ Laravel Developers on February 7, 2018 for Laracon Online. Get your tickets today!
Learn How to Shell with Explain Shell
News / updated: January 12, 2018

Learn How to Shell with Explain Shell is an online tool built by Idan Kamara that visually explains each part of a Unix command by matching command-line arguments to their help text.

You can paste some code, and the site will break down each piece of the command. For example, take the following find command:

find . -type f -print0

The command will produce the following explanation that allows you to filter and navigate each part of the command:

Here’s the background of the material and technologies used to create

This site contains 29761 parsed manpages from sections 1 and 8 found in Ubuntu’s manpage repository. A lot of heuristics were used to extract the arguments of each program, and there are errors here and there, especially in manpages that have a non-standard layout.

It is written in Python and uses bashlex, a bit of NLTK (to find the interesting parts of the manpage), a little d3.js (for the connecting lines graphic) and Flask. It is served with uwsgi and nginx. Source code is available on github.

You can try it out at The source code is also available on GitHub.

Another manpage tool we’ve covered is the excellent TLDR Pages and accompanying command line tool.

This appeared first on Laravel News
Laravel News Partners


Join the weekly newsletter and never miss out on new tips, tutorials, and more.