10 Awesome Modern Unix Command-Line Tools

Are you Using Linux or Terminal in macOS? If so, here are some of the cool Command-Line Tools you can use for better productivity and…

10 Awesome Modern Unix Command-Line Tools
edex-ui

Are you Using Linux or Terminal in macOS? If so, here are some of the cool Command-Line Tools you can use for better productivity and speed. I have another Post for Modern Alternatives to Common Unix Commands. Here’s a list of some of the popular command-line tools:

  1. fzf - Is a general-purpose command-line fuzzy finder, written in Go. It interactively filters the command line that can be used with any list; files, command history, processes, hostnames, bookmarks, git commits, etc. You can do a lot more than you can imagine. This is one of my favorite. Check out the GitHub repo for more.

Features:

  • Portable, no dependencies.
  • Batteries included — Vim/Neovim plugin, key bindings, and fuzzy auto-completion.
  • Flexible layout.
  • Blazingly fast.
  • The most comprehensive feature set.

GitHub: https://github.com/junegunn/fzf

2. dive - Is a tool for exploring a docker image, layer contents, and discovering ways to shrink the size of your Docker/OCI image. It is written in Go.

Features:

  • Show Docker image contents are broken down by layer.
  • Indicate what’s changed in each layer.
  • Estimate “image efficiency”.
  • Quick build/analysis cycles.
  • Multiple Image Sources and Container Engines Supported.
  • Supports CI Integration.

GitHub: https://github.com/wagoodman/dive

3. tldr- Is a collaborative cheatsheets for console commands. It aims to be a simpler, more approachable complement to traditional 'man pages' and is community maintained. It is written in Markdown.

Features:

  • Easy to read.
  • Simple to use.
  • Colored output.
  • Lists only important/most frequently used options.

GitHub: https://github.com/tldr-pages/tldr

4. lazygit - A simple terminal UI for git commands, written in Go with the gocui library.

Features:

  • You can add files easily.
  • Resolve merge conflicts.
  • Easily check out recent branches.
  • Squash down and reword commits.
  • Quick pushing/pulling.
  • Scroll through logs/diffs of branches/commits/stash.

GitHub: https://github.com/jesseduffield/lazygit

Friendly Reminder: Please Consider Following me if you like my article, 😊! Also, Subscribe to my Weekly Newsletter on my website to get Premium articles straight to your Inbox!

5. broot- Is an alternative to the tree command used to see and navigate the directory in a tree format. It is written in Rust.

Features:

  • Find a directory then cd to it.
  • You never lose track of file hierarchy while you search.
  • You can manipulate your files.
  • You can preview files.
  • You can sort, and see what takes space.
  • Can check git statuses.

GitHub: https://github.com/Canop/broot

6. hyperfine- It is a command-line benchmarking tool. You can run benchmarks on the CLI commands. Example: benchmark between fd vs find commands. It is written in Rust.

Features:

  • Statistical analysis across multiple runs.
  • Support for arbitrary shell commands.
  • Cache-clearing commands can be set up before each timing run.
  • Export results to various formats: CSV, JSON, Markdown, AsciiDoc.
  • Cross-platform.

and more.

GitHub: https://github.com/sharkdp/hyperfine

7. procs- A modern replacement for ps written in Rust.

Features:

  • Colored and human-readable output with automatic theme detection based on terminal background.
  • Multi-column keyword search.
  • Some additional information which are not supported by ps.
  • Pager support.
  • Tree view.

GitHub: https://github.com/dalance/procs

8. cheat.sh - Unified access to the best community-driven cheat sheets repositories of the world. It is similar to tldrcommand. It is written using Python.

Features:

  • Has a simple curl/browser/editor interface.
  • Covers 56 programming languages, several DBMSes, and more than 1000 most important UNIX/Linux commands.
  • Provides access to the best community-driven cheat sheets repositories in the world, on par with StackOverflow.
  • Available everywhere, no installation is needed, but can be installed for offline usage.
  • Ultrafast, returns answers within 100 ms, as a rule.
  • Has a convenient command-line client.

GitHub: https://github.com/chubin/cheat.sh

9. gping- Is a pingcommand replacement, but with a graph. It is written in Rust.

Features:

  • Graph the ping time for multiple hosts.
  • Graph the execution time for commands via the --cmd flag.
  • Custom colors.
  • Windows, Mac and Linux support.

GitHub: https://github.com/orf/gping

10. glances- Glances an Eye on your system. A top/htop alternative for GNU/Linux, BSD, Mac OS, and Windows operating systems.

Features:

  • Present a large amount of monitoring information through curses or a Web-based interface.
  • The information dynamically adapts depending on the size of the user interface.
  • It can also work in client/server mode.
  • Remote monitoring could be done via terminal, Web interface, or API (XML-RPC and RESTful).
  • Stats can also be exported to files or external time/value databases.

GitHub: https://github.com/nicolargo/glances

If you have not Checked my other Post, Click down below.

8 Modern Unix alternatives for Common Commands

There are a lot of other CLI tools as well but these are my favorite Command-Line Tools. Check these projects on GitHub for more detailed explanations, installation, configurations, usage, and more. If you like these kinds of stuff, check out my other posts, tutorials, and tips. If you want to stay updated, then subscribe to my Newsletter. As always see you in the next post.

Visit My Website and Signup to My Weekly Newsletter: https://narasimmantech.com

Join My Community Forum: https://community.narasimmantech.com

Follow me on Twitter: https://twitter.com/narasimman_tech

Read more