DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR SHELL
bash if set variable
if [ -z "$var" ]; then echo "var is blank"; else echo "var is set to '$var'"; fi
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#bash
#set
#variable
ADD COMMENT
Topic
COMMENT
Name
2+4 =
Submit