I’m finding it hard to download MongoDB in the background. I’m successful with the command:
brew services start email@example.com ,
but every time i try the command:
mongod –config /usr/local/etc/mongod.conf –fork,
bash: mongod: command not found.
brew services list
works and runs the following:
Name Status User File
firstname.lastname@example.org started myName ~/Library/LaunchAgentsemail@example.com
However, when I run:
mongod –config /usr/local/etc/mongod.conf –fork
bash: mongod: command not found
I am quite new to Computer Science and I only got recently acquainted with the Terminal so be nice!
This question is not yet answered, be the first one who answer using the comment. Later the confirmed answer will be published as the solution.