Summary List of Status Statistics (Continuous)

Enter the MongoDB Command Line

[root@fedora]#mongo

By default, running this command will look for a MongoDB server listening on port 27017 on the localhost interface.

If you’d like to connect to a MongoDB server running on a different port, then use the –port option. For example, if you wanted to connect to a local MongoDB server listening on port 23456, then you’d issue the following command: