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 www.compciv.org #
 
PREVIOUS NEXT
Tagged: #bash
ADD COMMENT
Topic
Name
3+9 =