Boost Your Workflow: Essential Command-Line Tools Every Developer Needs
This article curates a collection of powerful command-line utilities—including ag, tig, mycli, jq, shellcheck, fzf, PathPicker, htop, glances, axel, sz/rz, cloc, tmux, script, and multitail—explaining their core features and how they can replace or enhance traditional tools for developers and system operators.
Essential Command-Line Tools
ag : A faster recursive search tool that outperforms grep and ack.
tig : An interactive Git repository viewer that can replace many Git commands.
mycli : A MySQL client with syntax highlighting and auto‑completion, offering an IPython‑like experience and serving as a drop‑in replacement for the standard mysql command.
jq : A JSON processor and pretty‑printer with syntax highlighting, usable as an alternative to python -m json.tool.
shellcheck : A static analysis tool for shell scripts that detects syntax errors and non‑standard coding patterns.
fzf : A fuzzy finder for the command line that provides interactive, intelligent searching of files or content, perfect for enhancing Ctrl‑R history searches.
PathPicker (fpp) : Automatically identifies directories and files in command‑line output, offering an interactive selection useful when working with Git. git diff HEAD~8 --stat | fpp htop : A more attractive and convenient process monitor that replaces the traditional top command.
glances : A powerful htop/top alternative that offers richer system information and a web UI for remote monitoring.
axel : A multi‑threaded downloader that can substitute curl or wget for faster file transfers.
axel -n 20 http://centos.ustc.edu.cn/centos/7/isos/x86_64/CentOS-7-x86_64-Minimal-1511.isosz/rz : Interactive file transfer tools that simplify moving files through multiple jump hosts without manual step‑by‑step copying.
cloc : A code‑line counter that reports blank lines, comment lines, and language breakdowns.
tmux : A terminal multiplexer that replaces screen and nohup, enabling persistent sessions.
script / scriptreplay : Utilities for recording terminal sessions and replaying them later.
# Record
tscript -t 2>time.txt session.typescript
# ...run commands...
# Stop recording
exit
# Replay
scriptreplay -t time.txt session.typescriptmultitail : Allows simultaneous monitoring of multiple log files within a single terminal window, avoiding the need for multiple tabs.
Java Backend Technology
Focus on Java-related technologies: SSM, Spring ecosystem, microservices, MySQL, MyCat, clustering, distributed systems, middleware, Linux, networking, multithreading. Occasionally cover DevOps tools like Jenkins, Nexus, Docker, and ELK. Also share technical insights from time to time, committed to Java full-stack development!
How this landed with the community
Was this worth your time?
0 Comments
Thoughtful readers leave field notes, pushback, and hard-won operational detail here.
