ubuntu check version of mongodb code example Example: command to check mongodb version mongod --version