Chapter 1: mongod options

I’m on chapter 1 section: Mongod options.
I tried to run the command I following command:
mongod --help
but I got an error: 2020-12-01T18:35:28.056-0600 E QUERY [js] SyntaxError: missing ; before statement @(shell):1:9

Am I missing a package or I need to configure something here?

Most likely you are at mongo prompt
Please exit and run the command from your os prompt

mongod --help —>on Unix systems

C:\Users\xyz> mongod --help—>on Windows systems

What is the xyz standing for?

Your windows username. If your Windows username is Alpha then it will show C:\Users\Alpha>

Go to windows search then enter “cmd” without quotes you will find it.

Hi @Alpha_Ly,

I hope your doubts are resolved now.

Just an additional reading if in case you are interested : mongod. We cover more about this topic in our M103 course.