Watch Out for Data Loss When Redirecting to a File in a Shell Script
Learn how shell script output redirection can cause data loss and how to safely handle it with strace verification.
Learn how shell script output redirection can cause data loss and how to safely handle it with strace verification.
Explains how a bash one-liner using brace expansion generates 30 English words via a depth-first tree traversal.
A Bash script that generates Android APKs to create one-tap shortcuts for 20 different Settings screens, no root required.
Tutorial on using Spotify's CLI tool to upload audio files as private podcast episodes.
How to build an Android APK on Linux without root, using a Bash script and AI-generated code.
Using flock to prevent overlapping cron jobs in auto-deploy scripts for homelab setups.
Learn how to differentiate between empty and unset string variables in Bash using parameter expansion and Bash 4.2+ features.
How to safely replace the rm command with trash in Claude Code to prevent accidental file deletions.
Explains Bash nameref (local -n) for mutating function arguments with pointer-like behavior, useful for avoiding globals and subshells.
Explains the bash shell shortcut ~- as a handy alternative to $OLDPWD for referencing the previous working directory.
Explains how to manipulate file extensions in bash scripts using shell parameter expansion, with a LaTeX to SVG conversion example.
A guide to performing date and time arithmetic in bash scripts, covering numerical expressions and practical use cases like backup rotation.
A Bash script tutorial for deleting all objects from a Linode Object Storage bucket using curl and AWS Signature Version 4 authentication.
Explains how to pipe or redirect the output of a bash case statement to another program, reducing code duplication in shell scripts.
A tutorial on creating a Bash script using Awk and fzf to search, install, and remove Arch Linux and AUR packages from the command line.
An article defending Bash as a crucial, often misunderstood tool for backend and DevOps engineers, explaining its best use cases and limitations.
A developer critiques a ZFS snapshot sync script generated by Grok AI, highlighting its flaws and potential dangers.
A guide to building a smart, menu-bar-based session tracker for macOS using bash scripts and xbar to monitor productivity and encourage breaks.
A guide to navigating different netcat versions (OpenBSD, Traditional, Ncat) for CTFs and reverse shells, highlighting key syntax differences and pitfalls.
A guide to exporting SQL queries from DuckDB's new UI notebooks using a custom Bash script for backup or sharing.