mongodb launch db code example
Example 1: mongodb start server
sudo systemctl start mongodb
Example 2: start mongod
mongod --dbpath <file_path> --port <port>
sudo systemctl start mongodb
mongod --dbpath <file_path> --port <port>