Unix tip of the day
cp --reflink=auto nginx.conf nginx.conf.bak

On XFS, a copy-on-write copy: instant and sharing the same blocks until either file changes, falling back to a full copy elsewhere. A pre-edit backup that costs almost nothing in disk or time.

Field notes from 30+ years running Unix and Linux in production — from VAX/VMS and Solaris to RHEL fleets and cloud, where downtime was never an option. Written for senior engineers who run production systems. More about unixshadow →

Test everything in dev or a lab first. These are field notes from my systems, not a runbook for yours — you’re responsible for what you run on your own.

Scroll to Top