Created
April 21, 2020 09:48
-
-
Save laidbackware/be0e948c6ae307429c8902e9b3879dfc to your computer and use it in GitHub Desktop.
Useful BASH
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 1 liner to check if var is set | |
: ${VAR_NAME:?"You must st VAR_NAME"} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment