Redis commands

Requires a redis install to work with.

See my redis cluster kubernetes install post.

Connect to a cluster

redis-cli -c -h redis-redis-cluster -a $REDIS_PASSWORD

Commands

A few userful commands

Interactive

INFO
CLUSTER INFO
dbsize
ping
incr helloworld
GET hello world
set hello "world"
append hello ". Hi"
GET hello
keys "*"

cli

redis-cli --scan | head -10
redis-cli --bigkeys
redis-cli --scan --pattern '[YourSearch]:*' | wc -l

References