hostname()

  • hostname()

Returns:The hostname of the system running the mongoshell process.