1

I have global variable $MY_VAR.

How can I execute second command only if the variable has value:

echo $MY_VAR && echo "Show me only if variable $MY_VAR has value"

0 Answers0