Linux
- Long-running jobs should not depend on my SSH connection
One of the more annoying parts of working on servers is waiting for something that takes a long time. A database dump. A restore. Compressing a large directory. Moving data with rsync.
- When /home Is Full: Why LVM Makes Storage Expansion Easier
Most storage expansion problems I run into start with something simple: df -h Imagine I see this: Filesystem Size Used Avail Use% Mounted on /dev/mapper/ubuntu--vg-root--lv 50G 20G 30G 40% / /dev/sda2 2G 250M 1.
- grep Simulator Guide
A grep command can select the right lines but format them differently depending on its flags. grep Simulator lets you inspect line numbers, context, and selected-line counts without giving a website access to your files.
- rsync Command Builder Guide
The most consequential part of an rsync command is often the source path, not the flags. The rsync Command Builder makes directory-versus-contents behavior explicit and keeps a separate dry-run available before a real …
- sed Simulator Guide
Replacing the first occurrence on each line differs from replacing every occurrence in the file. sed Simulator shows that distinction on a separate output, without modifying the pasted source. First occurrence versus …
- tar Command Builder Guide
A tar command has two different path contexts: where the archive file lives and where its members come from. The tar Command Builder keeps those inputs separate and explains the generated options before you run anything.
- systemd Service Builder Guide
An application launched from a terminal stops being manageable once it needs boot-time startup, crash recovery, and consistent logs. The systemd Service Builder puts those settings into a unit you can inspect before …
- Linux Command Line Tasks Without Surprises
The safest terminal command is one you can explain before you run it. Work out what a command will read, what it will change, and whether you can reverse the change.
- Running real services on a small VPS
A lot of what looks like a scaling problem is really a maintenance problem. On a small VPS with a gigabyte or two of RAM you can run a surprising amount — as long as you keep the number of moving parts low and make the …