通过cli删除redis键值
- Windows系统下
./redis-cli.exe -a mypassword -h 127.0.0.1 -p 6379 -n 6 eval "redis.call('del', unpack(redis.call('keys','KEY*')))" 0
./redis-cli.exe -a mypassword -h 127.0.0.1 -p 6379 -n 6 eval "redis.call('del', unpack(redis.call('keys','KEY*')))" 0