1.利用xargs 和管道符把多行输出转化为一行输出
redis-cli -a xxx -n 10 keys "*goddess*" | xargs redis-cli -a xxx -n 10 del
参数解释
-a 用户密码
-n 库号