John Britto·9h agoThe Silent Killer in Your Scripts: Why You Need set -euo pipefailSubtitle: Three small Bash options that can help prevent failed commands, hidden errors, and unexpected behaviour in your shell scripts.
John Britto·1d agoBrace Expansion Will Make You Feel Like a WizardSubtitle: Create multiple directories, generate filenames, and build command sequences with one line of Bash instead of typing everything…
bunbun·Oct 28.bat file to search filenames recursively within a directory and its subdirectories.@echo off setlocal EnableExtensions DisableDelayedExpansion
ChihSheng, Feng (Mike)·Oct 28Bash Strict Mode: What set -euo pipefail Does and Does Not CatchIn this blog, I will explain what set -euo pipefail changes in Bash, where its protection stops, and which explicit checks still belong in…A response icon2A response icon2
Shanthi bojja·Oct 24Shell Scripting Fundamentals for DevOps Engineers: Automate Everyday Tasks with BashImagine checking server health, monitoring disk usage, cleaning temporary files, and collecting application logs manually every day. These…
jon allen·Oct 23Can MacOS mdfind replace the find command. A recent experience made me “mdfind” curiousRemediating the eMudhra, the experience, the agony.
BashSnippets·Oct 14Bash Said ‘-eq: unary operator expected’. The Script Still Exited 0.Four lines of bash, one empty variable, two tests of it. I wrote it on purpose, in a scratch directory, to capture the error for a guide…
Adarsh Kumar·Oct 11Exposing a Local Terminal to the Web Using ttyd and ngrokYou can access your local Bash terminal through a web browser using ttyd and ngrok in just a few steps.
Shanthi bojja·Oct 10Shell Scripting for DevOps Automation: A Beginner’s GuideIn DevOps, many tasks need to be performed repeatedly, such as checking server health, managing files, monitoring processes, and collecting…
Suyash Adhikari·Oct 3Writing Shell Scripts That Don’t Break in CI: The Habits Every DevOps Engineer NeedsDifferent shell. Different user. No TTY. No .bashrc. Strict PATH. CI environments are deliberately hostile to scripts written for local…