Issue in fetching the correct answer from Terminal

Hello Everyone,

The image clearly shows that the Terminal is not providing the desired output. Please assist.

Your question is related the M001 course from MongoDB university. You should be asking your course related question on the university’s course specific forum.

The command db.compagnies.find(…) is a mongo shell command. You are currently in a bash shell. You have to start the mongo shell first. Instructions on how do that are in the course material.