in Web Development

Command Line Helper Alias

This is a small command line helper to quickly lookup the options and helpers available to different commands.

First you need to add a new alias to your terminal I use zsh so I can edit the file vi ~/.zshrc.

And add the following.

function lookup() { curl cht.sh/$1 }

This will go to the URL cht.sh and return the response of the command.

Now if I want to lookup information about a certain command like curl

Upgrade to access all content on Paulund

Members unlock all tutorials and snippets

Access to all downloadable content

Access to code examples before others

Sign Up Now

Already a member? Login here

Subscribe To The Weekly Newsletter

Get weekly updates to your email