This version of the documentation is archived and no longer
supported. View the current documentation to learn how to
upgrade your version of MongoDB.
hostname()Returns: The hostname of the system running the mongoshell process.
hostname()| Returns: | The hostname of the system running the mongo
shell process. |
|---|