Home > other >  If [-n "$JAVA_HOME"]; The value of the mean $JAVA_HOME is empty?
If [-n "$JAVA_HOME"]; The value of the mean $JAVA_HOME is empty?

Time:05-17

If [-n "$JAVA_HOME"]; The value of the mean $JAVA_HOME is empty?

CodePudding user response:

If [-n str1] when the length of the string is greater than zero is true (string is not empty)

Refers to the value $JAVA_HOME
  • Related