Skip to main content

CLI

Browse all articles, tutorials, and guides about CLI

6posts

Posts

DevOps
|7 min read

Learn DevOps From Your Terminal: The DevOps Daily CLI and SSH App

Read posts, play quizzes, study flashcards, work through checklists and solve the incident of the day without leaving the terminal. Try it over SSH with nothing to install, or install the open source CLI that works offline.

DevOps
|10 min read

Claude Code: Agents, Commands, Skills, and Plugins Explained

A clear breakdown of the four extension types in Claude Code - what each one does, how they differ, and when to use which. No marketing fluff, just practical explanations with examples.

DevOps
|10 min read

CLI vs MCP: When to Use Each for AI-Powered DevOps

CLI tools and MCP servers both let AI agents interact with your infrastructure, but they solve different problems. Here is when to reach for each one and why the answer is usually both.

Bash
|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
|12 min read

How to Run Terraform From a Different Directory and in Scripts

Use terraform -chdir to run init, plan and apply against another folder, run Terraform without interactive prompts, limit a run to one resource with -target, and destroy everything except one resource without losing it.

Linux
|11 min read

How to Parse and Check Command Line Arguments in Bash

Read positional arguments with $1 and "$@", check that the user passed the arguments a script needs, parse short options with getopts and long options such as --env=prod with a while loop.