The find Command and xargs: Batch Operations Safely
Search files by name, size, and age with find, and pipe results to xargs for safe batch operations.
NetBay journal
Practical guides for Linux, containers, CI/CD, self-hosting, and running VPS infrastructure from Netbay Engineering.
499 articles · 24 topics
Search files by name, size, and age with find, and pipe results to xargs for safe batch operations.
OpenAPI turns an API into living documentation with examples, schemas, and generated clients. Write it early, lint it in CI, keep it fresh.
How to benchmark CPU, RAM, disk, and network on a VPS so the numbers are actually meaningful, and the common traps that make those numbers lie.
Detect file and rootkit infections on a Linux VPS by combining ClamAV signature scanning with rkhunter rootkit checks and disciplined scans.
Design API key rotation and revocation workflows so a leaked key becomes a small, contained event instead of a full platform emergency.
Design deployment stages with environments, required checks, and manual approval gates between you and production.
Share a folder on a Windows VPS with SMB, then set NTFS ACLs so share permissions and file ACLs agree. Least privilege beats Everyone Full Control.
Know when a MariaDB replica on a second VPS earns its keep for reads and backups, and when it only adds lag, failover fiction, and extra cost.
Diagnose a live Redis with INFO, SLOWLOG, and MEMORY so you can catch slow commands, memory growth, and eviction pressure before the VPS starts swapping.
Run Loki with a filesystem store and Promtail against journald on one VPS, with retention that fits the disk, and know the day this setup stops being enough.
Parse DATABASE_URL, size SQLAlchemy or Django pools, and cap Postgres max_connections so one VPS does not melt under worker fan-out and idle sessions.
Run app-blue and app-green on one VPS, health-check the idle color, then flip nginx so a bad release never shares a process with the live one.