Mon, March 24, 2025 1 min read Purge old images from Azure Container Registry #Azure #Docker #CLI Use ACR tasks to automatically purge untagged and old container images. read more →
Sun, December 8, 2024 1 min read Switch between AKS clusters quickly #Azure #Kubernetes #CLI Quickly switch kubectl context between multiple AKS clusters using az aks get-credentials. read more →
Sat, September 28, 2024 1 min read Exec into an Azure Container App #Azure #Container Apps #CLI Use az containerapp exec to get a shell inside your running Container App for debugging. read more →
Mon, April 14, 2025 1 min read Run Azure CLI commands across multiple subscriptions #Azure #CLI #bash A bash pattern to run any Azure CLI command across all your subscriptions in one go. read more →
Tue, October 15, 2024 1 min read Run commands in parallel with xargs #bash #CLI #Tutorial Use xargs with the -P flag to run shell commands in parallel and speed up batch tasks. read more →
Sat, June 15, 2024 1 min read curl cheat sheet for API testing #CLI #curl #bash The most useful curl flags and patterns for quick API testing from the terminal. read more →
Mon, March 17, 2025 1 min read Quickly decode Kubernetes secrets from the terminal #Kubernetes #CLI #bash A quick one-liner to decode Kubernetes secrets without copying values around. read more →
Sat, July 20, 2024 1 min read Docker cleanup commands you'll actually use #Docker #CLI Quick commands to reclaim disk space from unused Docker images, containers, and volumes. read more →
Mon, April 7, 2025 1 min read Find large files in a git repository #git #CLI #bash A quick way to find the largest files in your git history when your repo has grown out of control. read more →
Mon, November 25, 2024 1 min read Work on multiple branches simultaneously with git worktree #git #CLI #Tutorial Git worktrees let you have multiple branches checked out in separate directories without stashing or cloning. read more →
Thu, October 31, 2024 2 min read Using Lookbehind with grep #grep #CLI #Tutorial Learn how to use lookbehind patterns with grep (or ggrep on macOS) to extract specific fields from JSON or log files. read more →
Tue, July 2, 2024 1 min read Transform JSON on the command line with jq #CLI #jq #bash Common jq patterns for filtering, transforming, and reshaping JSON data. read more →
Sun, September 1, 2024 1 min read Debug a running pod in Kubernetes #Kubernetes #CLI #Tutorial Quick kubectl commands to inspect logs, exec into pods, and debug crashed containers. read more →
Mon, January 20, 2025 1 min read Find what's eating disk space on Linux #Linux #CLI #bash Use du and ncdu to hunt down what's consuming all the disk space. read more →
Mon, March 24, 2025 1 min read List all Azure resources with a specific tag #Azure #CLI #bash Use Azure CLI to quickly find all resources matching a specific tag, across resource groups or even subscriptions. read more →
Mon, March 3, 2025 1 min read SSH config tips for managing many servers #SSH #Linux #CLI Use SSH config to create aliases, set jump hosts, and avoid typing long connection strings. read more →
Mon, April 21, 2025 1 min read SSH and port forward through Azure Bastion from the CLI #Azure #CLI #Bastion #bash Skip the portal and use Azure CLI to SSH or forward ports through Bastion directly from your terminal. read more →
Sun, September 15, 2024 1 min read Move resources in Terraform state #Terraform #IaC #CLI Use terraform state mv to rename or reorganize resources without recreating them. read more →