title: edit grub option programmatically
body: <p>I want to programmatically select the next os that will be run after the current os restart.
  For example I've these os:</p>
  
  <pre><code>-Linux Mint
  -Windows 7
  </code></pre>
  
  <p>i'm in linux now, and i want run windows after the restart. What file I have to modify?</p>