 <p>Whitespace is important; you need to separate the <code>==</code> operator from its arguments, and you need to separate the brackets from the condition.</p> <pre><code>if [[ "$1" == "sell" ]] </code></pre>