Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

bash not equal

if [ $VARIABLE1 != $VARIABLE2 ]; then
  echo "do something"
else
  echo "do something else"
fi
 
PREVIOUS NEXT
Tagged: #bash #equal
ADD COMMENT
Topic
Name
1+3 =