Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

if -z in bash

The -z flag causes test to check whether a string is empty. 
Returns true if the string is empty, false if it contains something. 
 
PREVIOUS NEXT
Tagged: #bash
ADD COMMENT
Topic
Name
9+3 =