1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-23 17:22:08 +02:00
tldr/pages/common/mongod.md
pixel 263508cd44
*: replace file(s) syntax and add path/to/ to more things (#9592)
* Fix file(s) and more path/to

* Update pages.it/common/rm.md

Co-authored-by: Emily Grace Seville <EmilySeville7cfg@gmail.com>

* thanks emily your suggestion was dogshit

https://github.com/tldr-pages/tldr/blob/main/contributing-guides/translation-templates/common-arguments.md

Co-authored-by: Emily Grace Seville <EmilySeville7cfg@gmail.com>
2022-12-06 16:47:56 +10:00

357 B

mongod

The MongoDB database server. More information: https://docs.mongodb.com/manual/reference/program/mongod.

  • Specify a config file:

mongod --config {{path/to/file}}

  • Specify the port to listen on:

mongod --port {{port}}

  • Specify database profiling level. 0 is off, 1 is only slow operations, 2 is all:

mongod --profile {{0|1|2}}