Command pipelines in Bash: chaining commands and handling errors
How to chain commands with Bash pipes, why the default error-handling behaviour is dangerous, and how to fix it with pipefail, PIPESTATUS, and a defensive script header.
How to chain commands with Bash pipes, why the default error-handling behaviour is dangerous, and how to fix it with pipefail, PIPESTATUS, and a defensive script header.
AWK scripts for converting between IP addresses and decimal numbers – and why this makes a reliable source of unique server IDs for MySQL replication clusters and other distributed systems.
Modernising a production AWS estate with Claude Code – migrating Terraform state v3 to v4, the AWS provider to 6.0, and Amazon Linux, PHP and WordPress to current versions – with an honest account of where the AI tool helped and where it did not.
Preparing a MySQL multiple-server test environment using Docker images.
This article is targetted at virtual servers where the capacity of a drive can be extended without having to replace the physical hardware. If you have a physical hard drive where all the space has not been allocated, these instructions could still be of use – but that scenario is not likely. Identify additional drive … Read more
Adding a new hard drive to a Linux instance involves the following steps Add physical / virtual drive to the instance Scan for and identify new drive Prepare new drive for use Adding the new drive is outside of the scope of this article, as it can be done in many different ways depending on … Read more
Preparing a MySQL test environment using Docker images.