Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

bash if else if

if [[ TEST-COMMAND ]]
then
  STATEMENTS1
else
  STATEMENTS2
fi
Source by devconnected.com #
 
PREVIOUS NEXT
Tagged: #bash
ADD COMMENT
Topic
Name
2+3 =