###
手动清除单个key: redis-cli -h 'ipaddr' -p 6379 -a 'passwd' -n 0 keys 'keyName'|xargs redis-cli-h 'ipaddr' -p 6379 -a 'passwd' -n 0 del; 或者手动清除单个key: redis-cli -h 'ipaddr' -p 6379 -a 'passwd' -n 0 keys del 'keyName';
手动清除多个类似key: redis-cli -h 'ipaddr' -p 6379 -a 'passwd' -n 0 keys 'keyName*'|xargs redis-cli-h 'ipaddr' -p 6379 -a 'passwd' -n 0 del;
###
标签:cli,passwd,redis,清理,ipaddr,6379,key From: https://www.cnblogs.com/faithH/p/17046794.html