2026-11-18
Delete .log files older than 7 days and bigger than 1 MiB with one find command, and the traps on the way: permission denied on files you can write, -mtime and -size rounding, and why -delete goes last.…
2026-11-02
calltree reads a Bash project and prints which function calls which, in run order, with file:line and the control flow around every call. It follows source includes, draws graphs and GIFs, and ships an MCP server for Claude Code.…
2026-09-23
One curl line that downloads a file only when the server has a newer one, and why -f, -R and friends are there.…
2025-12-15
When working in the terminal, backing up a file before editing it is a habit that saves time, nerves, and sometimes entire systems. There’s……
2025-07-16
Yesterday, I had a small failure. I’m the kind of person who makes many small mistakes but also often feels quite confident that things……
2025-01-05
Ever needed to generate a batch of random-sized files for testing or development purposes? Whether you’re stress-testing file systems……
2024-11-29
Imagine a script that deletes itself after it runs — poof, gone, like it never existed. While this might sound like something out of a spy……
2024-11-23
Bash pipelines are an essential feature for chaining commands, but managing errors effectively within a pipeline can be challenging. By……
2024-11-05
Bash scripts are a powerful way to automate tasks on Linux systems. However, in some cases, you may want a script to only execute under……
2024-09-10
Assume the following scenario, you want to create a script that will colorize strings! simple right? and it is simple but we need first to……