how to check which version of mongodb terminal code example Example: command to check mongodb version mongod --version