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