title: Remove first element from $@ in bash
body: <p>I'm writing a bash script that needs to loop over the arguments passed into the script.  However, the first argument shouldn't be looped over, and instead needs to be checked before the loop.</p>
  
  <p>If I didn't have to remove that first element I could just do:</p>
  
  <pre><code>for item in "$@" ; do
    #process item
  done
  </code></pre>
  
  <p>I could modify the loop to check if it's in its first iteration and change the behavior, but that seems way too hackish.  There's got to be a simple way to extract the first argument out and then loop over the rest, but I wasn't able to find it.</p>