mongodb startup type linux code example Example: start mongod mongod --dbpath <file_path> --port <port>