Essential Linux Toolkit: Why tmux Tops My List for Remote Work
A developer shares their refined set of daily Linux tools — tmux for persistent terminal sessions, htop for system monitoring, ripgrep for fast code search, VS Code and Git for development, Docker for containerized services, plus desktop apps — with practical commands and workflow tips.
tmux: One Terminal to Rule Them All
Remote server work often suffers from network drops that kill long-running tasks. tmux solves this by managing independent terminal sessions on the server. If SSH disconnects, the tmux session stays alive; reconnecting with tmux attach -t work restores the exact workspace.
tmux also supports split panes: edit config on the left, tail logs on the right, run commands in a bottom pane — all inside one terminal window. The default prefix is Ctrl+b; press % for vertical split, " for horizontal split. For anyone who frequently works remotely, compiles code, or runs lengthy scripts, mastering these few keystrokes covers most needs.
# Create a named session
<strong>tmux new -s work</strong>
# Detach from current session (Ctrl+b, then d)
# Reattach to existing session
<strong>tmux attach -t work</strong>
# List all sessions
<strong>tmux ls</strong>htop: Instant System Health Check
When CPU spikes or memory runs out, htop is the first diagnostic stop. Unlike traditional top, htop presents a colorful, interactive view: CPU, memory, and load bars at the top; a sortable process list below. Press F6 to choose sort column, F3 to search processes, and toggle tree view to see parent-child relationships.
Troubleshooting workflow: check CPU usage and duration, then memory consumption and process names. Many issues reveal themselves here. Before killing an unfamiliar process, verify which service it belongs to.
ripgrep (rg): Lightning-Fast Code Search
Need to locate a config snippet buried in a large repo or find every call to a specific API? rg recursively searches text, respects .gitignore by default, skips hidden and binary files, making it ideal for big codebases.
# Search for 'timeout' in current project with line numbers
<strong>rg -n 'timeout' .</strong>
# Search only Python files for 'DEBUG'
<strong>rg -n -g '*.py' 'DEBUG' .</strong>
# List all searchable files in current directory
<strong>rg --files</strong>Add --hidden to include dotfiles. From code navigation to log analysis, a single command often narrows the investigation dramatically.
VS Code & Git: Development Backbone
VS Code on Linux handles Python, Shell, frontend code. The Remote - SSH extension lets you open remote server directories directly in the editor, bridging local IDE comfort with server-side execution.
Git tracks every change to code and configs. Routine commands keep history clean and auditable:
<strong>git status</strong>
<strong>git diff</strong>
<strong>git log --oneline -5</strong>Learners can build a personal toolkit repo of scripts, templates, and deployment notes — just remember to exclude real passwords, private keys, and sensitive data.
Docker & Docker Compose: Service Deployment Made Simple
Instead of manually installing databases, runtimes, and dependencies for each project, Docker packages the app and its environment into a container image. Docker Compose describes multi-service stacks (app, DB, etc.) in a single YAML file. Managing a personal blog, download tools, or test environments becomes repeatable and low-maintenance.
# Inside a Compose project directory
<strong>docker compose ps</strong>
<strong>docker compose logs --tail 100 -f</strong>Persist database data in volumes and back them up regularly.
Desktop Essentials for Daily Office Work
Linux desktop users have solid cross-platform options: Firefox for browsing, LibreOffice for documents/spreadsheets, VLC for video, and various note-taking apps. Complex Office files may need compatibility checks; for everyday browsing, writing, and light office tasks, this set works well.
Quick-Start Installation (Ubuntu/Debian)
<strong>sudo apt update</strong>
<strong>sudo apt install tmux htop ripgrep git</strong>If forced to keep only one tool, the author still chooses tmux — it unifies many disparate utilities into a single, recoverable workspace, especially valuable on remote servers.
Signed-in readers can open the original source through BestHub's protected redirect.
This article has been distilled and summarized from source material, then republished for learning and reference. If you believe it infringes your rights, please contactand we will review it promptly.
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.
