Redis

Connect to remote server

redis-cli -h IP -p PORT

Get keys with regex

keys kg*

Get all fields in a key

hkeys kg_abc

Delete keys with regex

redis-cli -h 10.10.84.141 KEYS "test_ruyi-nlp-sys-entity*city" | xargs redis-cli -h 10.10.84.141 DEL

Reference

http://redis.io/commands

results matching ""

    No results matching ""