title: Windows equivalent of "> /dev/null &"
body: <p>I have the code below for running a code that uses mongodb in a .sh file. I am running my code in windows but I think these commands are for Linux. I would be very thankful if someone can let me know the equivalent commands in windows.</p>
  
  <pre><code>#!/bin/bash
  
  base_dir="$1"
  echo "Starting MongoDB..."
  mongodb/bin/mongod --dbpath "$base_dir"/mongodb/data/db &gt; /dev/null &amp; 
  sleep 10
  
  echo "Starting Jetty server..."
  java -Xmx8g -jar easy_esa.jar 8800 index &amp;
  sleep 10
  </code></pre>