6 Command-line Utilities to Improve your Workflows

We spend a lot of time as engineers on our terminals. Here is a list of 6 command-line utilities that can help you boost your productivity on the terminal.

1. Autojump (j)

Autojump is a fast way to navigate your filesystem. It keeps track of the directories that you access & their usage frequency.

Usage:

  • To navigate to a directory that contains Downloads from any directory in the filesystem
    j Downloads
    

Link

2. bat

Bat is a cat clone with support for syntax highlighting for the commonly used programming languages & markup formats.

Usage:

bat filename

bat highlighting the syntax of Python

Link

3. Fuzzy Finder (fzf)

Fuzzy Finder is an interactive command-line tool for fuzzy search. You can use it to find the files by typing a few characters of the file with instant feedback.

You can also use it to search any list on the terminal such as command history, git logs, processes, etc.

Demo of fzf

Link

4. tldr

Have you felt that the man pages are too verbose when you are looking for an option for a command?

Try tldr which gives you community-maintained help pages for command-line tools.

Usage

tldr command_or_utility

tldr for man pages

Link

5. cal

cal shows you the calendar in your terminal.

For those times when you do not remember today's day or date!

cal showing the calendar on the terminal

6. sudo !!

Did you have to run the last command as a superuser instead of your normal user? sudo !! can come to your rescue. It runs the last command as a superuser.

Example of running previous command as superuser

Let me know which one you use or would use in the comments!

Do you have any additions to this list? Share it in the comments.

26
Subscribe to my newsletter

Read articles from Nithish Raghunandanan directly inside your inbox. Subscribe to the newsletter, and don't miss out.

Written by

Nithish Raghunandanan
Nithish Raghunandanan