title: How to check if there is a parameter provided in bash?
body: <p>I wanted to see if there is a parameter provided. But i don't know why this code wont work. What am i doing wrong?</p>
  
  <pre><code>   if ![ -z "$1" ]
     then
          echo "$1"
     fi
  </code></pre>