I dont know that. Thanks for help. for example:
[ $test = 'some string' ] && echo 'yes' || echo 'no' [[ $test = 'some string' ]] && echo 'yes' || echo 'no'