I'm trying to perform two string comparisons with an "if" and an "OR" <p>I'm new to bash and I am trying to do two string comparisons with an or statement. Can anyone give me any idea where I have gone wrong?</p> <pre><code> echo $DEVICETYPE FILEHEADER=ANDROID if [[ "$DEVICETYPE" == "iPad" ] || ["$DEVICETYPE" == "iPhone" ]]; then $FILEHEADER = IOS fi echo $FILEHEADER </code></pre> <blockquote> <blockquote> <blockquote> <p>iPad</p> <p>ANDROID</p> </blockquote> </blockquote> </blockquote>