title: RaspberryPI shutdown script
body: <p>So I just recently hooked up my new Rasppi, and I wanted to write a script using shell scripts to easily shut down the board. From a single Google search, I learned that this command:</p>
  
  <pre><code>sudo shutdown -h now
  </code></pre>
  
  <p>Will shutdown the PI from the command line. Now I want to turn that into a script file that I can easily run. Is it as simple as pasting it into a text file and saving it as a shell script? Or am I missing something?</p>