Operations 10 min read

Essential Command-Line Tools Every DevOps Engineer Should Know

This article presents a curated collection of fast, interactive, and productivity‑boosting command‑line utilities—including ag, tig, mycli, jq, shellcheck, yapf, mosh, fzf, PathPicker, htop, axel, cloc, ccache, tmux, and many more—along with brief usage examples and screenshots to help engineers streamline development, debugging, and system monitoring tasks.

ITPUB
ITPUB
ITPUB
Essential Command-Line Tools Every DevOps Engineer Should Know

This guide introduces a set of command‑line utilities that can significantly improve productivity for developers and system administrators.

Fast Search and Navigation

ag : A faster recursive search tool compared to grep or ack for finding text inside files.

tig : An interactive, character‑mode interface for browsing Git repositories, serving as a visual alternative to raw Git commands.

fzf : A fuzzy finder that enables interactive, smart searching of files or command history, perfect for pairing with Ctrl‑R in the terminal.

PathPicker (fpp) : Detects directories and files in command output and allows interactive selection; useful with Git, e.g., git diff HEAD~8 --stat | fpp.

Database and JSON Utilities

mycli : A MySQL client offering syntax highlighting and command completion, similar to IPython, to replace the default mysql CLI.

jq : Processes and pretty‑prints JSON files with syntax highlighting, acting as a drop‑in replacement for python -m json.tool.

Code Quality and Formatting

shellcheck : A static analysis tool for shell scripts that detects syntax errors and non‑standard constructs.

yapf : Google’s Python code formatter supporting PEP‑8 and Google style guidelines.

ccache : A compiler cache for C/C++ that speeds up repeated builds; use it by prefixing compilation commands, e.g., ccache gcc foo.c.

Network and Remote Access

mosh : A UDP‑based replacement for SSH that maintains stable connections and automatically reconnects when the IP changes.

axel : A multithreaded download accelerator that can replace curl or wget. Example: axel -n 20 http://example.com/file.iso.

sz/rz : Interactive file transfer tools that simplify copying files across multiple jump hosts.

System Monitoring

htop : An improved, colorful process monitor that replaces the traditional top command.

tmux : A terminal multiplexer that supersedes screen and nohup. It also supports session recording with script and playback via scriptreplay.

you-get : A powerful media downloader supporting YouTube, Youku, Bilibili, and many other platforms.

Clipboard and Speech Utilities (macOS)

cat test.sh | pbcopy

: Copies command output to the system clipboard. pbpaste: Pastes clipboard contents back into the terminal.

for i in `say -v '?' | cut -d '' -f 1`; do echo $i && say -v "$i" "Hello World"; done

: Demonstrates macOS say command with multiple voices.

Command Correction

The tool The Fuck automatically corrects mistyped commands (e.g., turning aptget into apt-get), though it does not add missing sudo automatically.

Additional Recommended Ops Tools

Other useful utilities mentioned include hardware info tools ( i7z, hardinfo), system overview ( screenfetch), network monitoring ( nethogs, nload, bmon), disk usage analysis ( ncdu), security scanners ( nmap, Nessus), container helpers ( anbox), and many classic Unix commands such as grep, awk, sed, dd, find, tar, etc. The article lists dozens of these tools with brief descriptions, providing a handy reference for anyone looking to enhance their command‑line workflow.

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.

OperationsDevOpsLinuxproductivitytoolscommand-line
ITPUB
Written by

ITPUB

Official ITPUB account sharing technical insights, community news, and exciting events.

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.