➜ ~ redis-cli
127.0.0.1:6379> ls
(error) ERR unknown command `ls`, with args beginning with:
127.0.0.1:6379>
redis-server //启动命令
➜ ~ redis-cli
127.0.0.1:6379> ls
(error) ERR unknown command `ls`, with args beginning with:
127.0.0.1:6379>
redis-server //启动命令