Most popular CLI utilities with examples

From the thousands of queries run using kmdr, these are your top 10 programs!

These are the most commonly queried programs along with some examples of their use. As with all embedded kmdr code snippets, you can mouse over the attributes of any command to see definitions. 


This is probably the first command you run in the Terminal. ls lists all files and directories inside a directory. kmdr helps you to understand the +60 different options that affect what you see in your filesystem when using ls.


The name "git" was given by Linus Torvalds when he wrote the very first version of the tool in 2005. He described git as "the stupid content tracker" and the description hasn't changed in 15 years. The Git suite in kmdr has more than 53 subcommands and 1,000 options.


Need to find a needle in a haystack? Grep is a marvelous CLI program that will help you find text in a file or stream. kmdr can explain 47 different options that affect how grep searches for text in your file system.


Containers; they're almost everywhere. The Docker suite in kmdr has more than 138 nested subcommands and 700 options that can help you develop and ship your software using the platform.


The Node Package Manager (npm) is well-known in the world of web development. npm installs dependencies for Javascript Applications and kmdr can explain the more that 25 subcommands and 30 options in a split-second.


A very useful tool for creating archive files. Mostly used for compressing (to send or store) big libraries, backups, or anything else that comes to mind. Did you know there are more than 150 options that can help you to use tar like a pro? You can even make archive files of archive files.


Each command you run in the Terminal is usually stored in a history file. This program helps you navigate and edit that file. See these 8 helpful options for `history`:


Most people use curl for fetching and sending data to HTTP servers, but curl can also help you to interact with other protocols like FPT, SMTP, IMAP, TELNET, and many more. There are more than 200 options that affect curls performance, verbosity and security.


If you're only wanting to download files from the WWW, wget is a simpler alternative for curl. kmdr can explain all 155 different wget options.


Last but certainly not least in the top 10 is sudo.  With the program's fame now consolidated - remember the repetitive advice "Use sudo instead of su"? - sudo has more than 25 options (depending on the OS) that affect how you run commands in privileged mode.