Last active
June 24, 2016 20:04
-
-
Save pvgomes/35daff8f387fa0225f97 to your computer and use it in GitHub Desktop.
Redis Commads
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### Remove multiple itens by pattern | |
redis-cli KEYS "prefix:*" | xargs redis-cli DEL | |
By conf | |
redis-cli -h 0.0.0.0 -p 6380 KEYS "*" | xargs redis-cli -h 0.0.0.0 -p 6380 DEL | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment