Mongod failed to start via configuration file

  mongodb, question

Mongodb is downloaded through brew and is available at/usr/local/etcNext onemongod.confProfile.
Now I want to pass the order
mongod --config /usr/local/etc/mongod.confTo start mongod.
Prompt errorError reading config file: No such file or directoryFile not found.

The novice has just learned mongodb and hopes someone can help solve the problem.

The title owner seems to have written the wrong file name. Yesmongod.confNomongodb.conf.
mongod --config /usr/local/etc/mongod.conf