redis批量删除 del key 2021-10-20 export REDISCLI_AUTH=pass123 export IP=172.16.1.2 /usr/local/bin/redis-cli -c -h ${IP} -p 6379 --scan --pattern "pre*" | xargs /usr/local/bin/redis-cli -c -h ${IP} -p 6379 del 分类:Linux | 标签: | 相关日志