fork download
  1. #!/bin/sh
  2. sudo rm /var/lib/mongodb/mongod.lock
  3. sudo -u mongodb mongod -f /etc/mongodb.conf --repair
  4. sudo service mongodb start
  5.  
Runtime error #stdin #stdout #stderr 0.02s 5312KB
stdin
Standard input is empty
stdout
Standard output is empty
stderr
prog.sh: line 2: sudo: command not found
prog.sh: line 3: sudo: command not found
prog.sh: line 4: sudo: command not found