start mongo service on linux code example
Example 1: start mongodb service ubuntu
sudo systemctl start mongod
sudo systemctl stop mongod
Example 2: linux start mongodb
sudo systemctl start mongod
sudo systemctl start mongod
sudo systemctl stop mongod
sudo systemctl start mongod