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