[root@izuf6byjhd4wd8vdncreg8z ~]# locate redis-server
/usr/local/redis/bin/redis-server
/usr/local/redis/src/redis-server
[root@izuf6byjhd4wd8vdncreg8z ~]# /usr/local/redis/bin/redis-cli
127.0.0.1:6379> keys "SCHEDULED:SKU"
(empty array)
127.0.0.1:6379> get SCHEDULED:SKU
(nil)
127.0.0.1:6379> keys *SKU*
1) "case:scheduled:lock:SCHEDULED:SKU"
127.0.0.1:6379> del "case:scheduled:lock:SCHEDULED:SKU"
(integer) 1
127.0.0.1:6379> keys *SKU*
(empty array)
127.0.0.1:6379> exit
标签:SKU,SCHEDULED,127.0,删除,0.1,redis,6379,key
From: https://blog.51cto.com/u_16111399/6960816