Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

bash if

nome=tiago
## with SPACE between variable and comparation
if [ $nome == 'tiago' ] ;
then
    echo "hello Tiago"
fi
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #bash
ADD COMMENT
Topic
Name
2+6 =