Tag: CLI

Browse all articles, tutorials, and guides about CLI

Posts

Docker
2025-04-24|6 min read

What Is the Difference Between 'docker compose' and 'docker-compose'?

Confused about 'docker compose' vs 'docker-compose'? Learn the key differences, why the new command exists, and which one you should use for your projects.

Shell
2025-04-22|5 min read

Using ls to list directories and their total sizes

How to show directory sizes from the shell - practical commands for macOS and Linux, and why `ls` alone is not enough.

Terraform
2025-02-25|7 min read

How to Run Terraform Init From a Different Directory

Learn how to initialize and manage Terraform configurations from outside their directory using -chdir, working directories, and automation patterns.

Linux
2024-09-05|9 min read

How to Parse Command Line Arguments in Bash

Learn various methods to parse command line arguments in Bash scripts, including positional parameters, getopts, and advanced argument handling techniques.

Python
2024-08-11|6 min read

What Is the Quickest Way to HTTP GET in Python?

Need to make a quick HTTP GET request in Python? Here's how to do it with standard libraries and third-party tools, including pros and tradeoffs.

Kubernetes
2024-02-18|5 min read

How to Decode a Kubernetes Secret

Kubernetes secrets store sensitive data in base64-encoded form. Learn how to safely decode and inspect these secrets using kubectl and command-line tools.

Docker
2024-01-28|4 min read

How to List Containers in Docker

Learn how to list running and stopped Docker containers, filter by status, and get useful details for troubleshooting and management.