The Agent Rewrote the Shell Script in Python and Dropped the Exit Code
The build script was 40 lines of bash. It ran npm test , then npm run build , then rsync the dist folder to a server, then paged us on Slack. It wor…
Latest DevOps news from Tech News
The build script was 40 lines of bash. It ran npm test , then npm run build , then rsync the dist folder to a server, then paged us on Slack. It wor…
Set-Content and Out-File both put text into a file. On a quiet English UTF-8 machine they look interchangeable. On a Czech log, a CSV opened in Exce…
The PowerShell Measure-Object cmdlet turns a pile of output into a number. How many lines are in this log? How much disk does this folder eat? What'…
The PowerShell Test-Path cmdlet answers one question: does this path exist? Use it before you read, write, delete, or create — so your script fails…
The PowerShell Get-Content cmdlet reads text from a file. For day-to-day ops you rarely need the whole file — you need the last few lines of a growi…
I've built a small script to help verify rsync operations. The goal is to provide a straightforward way to confirm that your rsync commands are work…
"Can it be simpler?" - A recurring thought I've had while working on build automation. EasyShell (command: easy ) is a minimal shell scripting langu…