cd App/opt/redis/bin/ ./redis-cli 1、查看所有key值 keys 前缀* 2、删除指定key值 删除一条 del key全名 删除多条 exit ./redis-cli keys "activity_*" |xargs ./redis-cli del
cd App/opt/redis/bin/ ./redis-cli 1、查看所有key值 keys 前缀* 2、删除指定key值 删除一条 del key全名 删除多条 exit ./redis-cli keys "activity_*" |xargs ./redis-cli del