how to start stop restart service mongodb in linux code example Example: mongo restart sudo service mongod start