redis基本命令

客户端连接 redis-cli -p 28903

查询所有Key 

keys *

get list 会有如下报错

(error) WRONGTYPE Operation against a key holding the wrong kind of value

用 sort key alpha

原文地址:https://www.cnblogs.com/loserof/p/4108374.html