DEV Community

Erich Rincon
Erich Rincon

Posted on

Five Linux habits that quietly save me hours every week

I run Linux on my laptop and on a couple of small servers. The things that actually save me time are not clever - they are habits, and most of them I picked up while reading guides like the ones collected at linuxmind.dev. Here are the five that stuck.

1. Keep long jobs inside tmux. Install once, start a session, detach with the prefix key and the job survives your SSH connection dropping. Splitting a window into panes also beats opening six terminals. The full walkthrough, key bindings included, is in Multiplex Terminals with tmux.

2. Let cron do the boring work. Backups, log rotation, pulling the latest config - if you catch yourself running the same command every week, schedule it. The rsync-and-cron combination is the one I use most, and this guide explains it step by step.

3. Know how to close the door. A laptop with an open port on a shared network is not a fun way to learn. UFW is three commands and then you forget about it: Basic security in Linux - set up a firewall with UFW.

4. Look at the machine, not at the graph. htop tells you what is eating memory right now, atop records what was eating it an hour ago when you were not looking. Monitoring your system with htop, atop and glances covers all three.

5. Containers for anything you are not sure about. Not everything deserves a place on the host. Spinning up a throwaway Postgres or a test nginx in a container and deleting it afterwards is the habit that stopped me from wrecking my own machine: First steps with Docker containers on Linux.

None of these are clever. They are just the ones that remove the small, repeated frictions that add up to hours. If you want to go deeper, there is a library of longer guides at linuxmind.dev - the distro installation walkthroughs are especially useful the first weekend you try something new.

Top comments (0)