DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR SHELL
check if a variable is null in bash
if [[ -n "$list_Data" ]] then echo "not Empty" else echo "empty" fi
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#check
#variable
#null
#bash
ADD COMMENT
Topic
COMMENT
Name
1+8 =
Submit