All tools

Shell Scripting

You're viewing a free preview. Sign in free to read every tool guide.

A deploy script skeleton worth stealing ${1:?message} is parameter expansion doing double duty: it both requires the argument and prints a usage message if it's missing — no separate if [[ $ lt 1 ]] block needed.…

Real-World Automation Patterns

Sign in free to read this guide, along with the rest of the DevOps Tools library.

Sign in free
Real-World Automation Patterns — Shell Scripting Guide | DevOps Level