title: Unable to add a parameter to your command in Bash
body: <p>I have the following code which I call google</p>
  
  <pre><code>#!/bin/bash
  
  q=$1
  open "http://www.google.com/search?q=$q"
  </code></pre>
  
  <p>It opens Firefox with the keyword. For example, by</p>
  
  <pre><code>google cabal
  </code></pre>
  
  <p>I want to have specific keywoards added to the command when I put a parameter after the command. The following is an example</p>
  
  <pre><code>google -x cabal
  </code></pre>
  
  <p>It searches the sequence, for instance</p>
  
  <pre><code>"cabal is"
  </code></pre>
  
  <p><strong>How can you add a parameter to your command in Bash?</strong></p>