Im running a command to get information about FC cards names and saving to variable. Some servers those cards might not be available. on those machines the Variable saves a whitespace character. I want to use the If condition to check if the variable has whitespaces and then act accordingly.
The below one doesnt seems to work .
if [ "$VAR" == null ] then print "No special card Found" else #Run a command fi