title: sudo service command not found when installing mongodb
body: <p>I am currently on OS/X using macbook. I want to stop the instance of mongodb service running. Hence I tried:</p>
  
  <pre><code>&gt; sudo service mongodb stop
  sudo: service: command not found
  </code></pre>
  
  <p>After looking up on Google, they asked me to add PATH hence I did the following:</p>
  
  <pre><code>&gt; `vim ~/.bash_profile` (created a new bash_profile) and added the following there:
  
     export PATH=/usr/bin:/usr/sbin:/bin:/usr/local/bin:/sbin:/opt/x11/bin:$PATH
  </code></pre>
  
  <p>It does not seem to work and I still get the same error:</p>