command to find redis version code example Example 1: check redis version redis-server --version Example 2: check ubuntu version cmd lsb_release -a