Tag: Commands
Browse all articles, tutorials, and guides about Commands
Posts
⌘K
Docker
2024-12-10|7 min read
How to Execute Multiple Commands in Docker Compose
Learn different techniques for running multiple commands in Docker Compose services, from simple command chaining to advanced multi-stage initialization scripts.
Bash
2024-10-01|7 min read
How to Set a Variable to the Output of a Command in Bash
Learn multiple methods to capture command output in Bash variables using command substitution, including best practices and error handling techniques.
Bash
2024-05-03|7 min read
How to Check if a Program Exists from a Bash Script
Learn multiple reliable methods to check if a command or program is available on your system from within Bash scripts, including using which, command, and type.