Get Redis keys and values at command prompt
There’s no command for that, but you can write a script to do so. You will need to perform for each key a “type” command: > type <key> and depending on the response perform: for “string”: get <key> for “hash”: hgetall <key> for “list”: lrange <key> 0 -1 for “set”: smembers <key> for “zset”: zrange … Read more