Operations 11 min read

Top 6 Modern Linux Command‑Line Tools to Replace Classic Utilities

This article reviews six contemporary Linux command‑line utilities—ncdu, htop, tldr, jq, fd, and other alternatives—that improve usability, speed, and functionality compared with traditional tools like du, top, man, grep, and find, providing installation commands and usage examples.

Liangxu Linux
Liangxu Linux
Liangxu Linux
Top 6 Modern Linux Command‑Line Tools to Replace Classic Utilities

ncdu – interactive du replacement

ncdu provides a curses‑based UI to explore disk usage, sorting directories by size. Use the arrow keys to navigate, Enter to open a directory, d to delete files (confirmation by default), and -r for read‑only mode.

ncdu 1.14.2
--- /home/user ------------------------------------------------------------
   96.7 GiB [##########] /libvirt
   33.9 GiB [###       ] /.crc
    7.0 GiB [          ] /Projects
   ... (output truncated) ...
   Total disk usage: 159.4 GiB  Apparent size: 280.8 GiB  Items: 561540

Install on Fedora: sudo dnf install ncdu Project page: https://dev.yorhel.nl/ncdu

htop – enhanced top

htop is an interactive process viewer that adds color, a summary bar, and function‑key commands. Press F2 to open the settings screen where colors, meters, and layout can be customized.

Project page: https://hisham.hm/htop/

tldr – simplified man pages

tldr shows concise examples for common commands, complementing the often verbose man pages. Example for curl:

$ tldr curl
# curl
  Transfers data from or to a server.
  Supports most protocols, including HTTP, FTP, and POP3.
  - Download the contents of an URL to a file:
    curl http://example.com -o filename
  - Download a file, saving the output under the filename indicated by the URL:
    curl -O http://example.com/filename
  - Follow redirects and resume partial downloads:
    curl -O -L -C - http://example.com/filename
  - Send form‑encoded data (POST):
    curl -d 'name=bob' http://example.com/form
  - Send a request with a custom header:
    curl -H 'X-My-Header: 123' -X PUT http://example.com
  - Send JSON data:
    curl -d '{"name":"bob"}' -H 'Content-Type: application/json' http://example.com/users/1234

Install on Fedora: sudo dnf install tldr Project page: https://tldr.sh/

jq – JSON processor

jq parses JSON directly, allowing concise queries that are robust against format changes. Example JSON and queries:

{
  "apiVersion": "v1",
  "kind": "Pod",
  "metadata": {"labels": {"app": "myapp"}, "name": "myapp", "namespace": "project1"},
  "spec": {"containers": [{"name": "busybox"}, {"name": "nginx"}], "restartPolicy": "Never"}
}

List all container names:

jq '.spec.containers[].name' pod.json
"busybox"
"nginx"

Get the second container name:

jq '.spec.containers[1].name' pod.json
"nginx"

Project page: https://stedolan.github.io/jq/

fd – faster find

fd is a simple, fast alternative to find with sensible defaults: case‑insensitive search, colored output, and automatic exclusion of .git directories.

Search for markdown files with find:

find . -iname "*.md"

Same search with fd:

fd .md

Include hidden files when needed:

fd -H .md

Install on Fedora:

sudo dnf install fd-find

Repository: https://github.com/sharkdp/fd/

Summary

These modern replacements for classic Unix tools provide richer interfaces, better defaults, and can streamline daily workflows on Linux desktops and laptops.

Original Source

Signed-in readers can open the original source through BestHub's protected redirect.

Sign in to view source
Republication Notice

This article has been distilled and summarized from source material, then republished for learning and reference. If you believe it infringes your rights, please contactadmin@besthub.devand we will review it promptly.

Linuxjqhtopcommand-linefdncdutldr
Liangxu Linux
Written by

Liangxu Linux

Liangxu, a self‑taught IT professional now working as a Linux development engineer at a Fortune 500 multinational, shares extensive Linux knowledge—fundamentals, applications, tools, plus Git, databases, Raspberry Pi, etc. (Reply “Linux” to receive essential resources.)

0 followers
Reader feedback

How this landed with the community

Sign in to like

Rate this article

Was this worth your time?

Sign in to rate
Discussion

0 Comments

Thoughtful readers leave field notes, pushback, and hard-won operational detail here.