-z option inside if condition in shell script December 31, 2023 by Tarik From “help test”: -z STRING True if string is empty.