基础命令

登录

bash
1
redis-cli -h xx -p 6217 -a passwd

查询key

plaintext
1
keys 'pattern'

删除 key

plaintext
1
del key

批量删除键值

plaintext
1
r