how to run mondob in background linux code example Example: run MongoDB manually as a background process macos mongod --config /usr/local/etc/mongod.conf --fork