title: What happens when I sudo bash -c?
body: <p>I know that <code>sudo bash -c 'some_command'</code> will run <code>some_command</code> with the same privileges as sudo.</p>
  
  <p>I'm confused as to what's happening? Does it run <code>some_command</code> in bash as sudo (same as <code>sudo bash</code>) then switch back to my current user? Why am I not left in an instance of bash with sudo privileges like I would when I run <code>sudo bash</code>?</p>
  
  <p>I tried running <code>man bash</code> and it describes the <code>-c</code> option (quoted below). 
  However, I am struggling to piece how the description relates to the behaviour I observed when running <code>sudo bash -c 'some_command'</code></p>
  
  <blockquote>
    <p>If the -c option is present, then commands are read from the first non-option argument command_string.  If there  are  arguments  after
                     the command_string, they are assigned to the positional parameters, starting with $0.</p>
  </blockquote>