Bash: Check empty $varif [ -z "$var" ] then echo "\$var is empty" else echo "\$var is NOT empty" fi2022-09-19