how to check mongodb version used cmd code example Example: command to check mongodb version mongod --version