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