how to check mongo db version code example Example: command to check mongodb version mongod --version