Created
June 28, 2016 13:18
-
-
Save acanimal/69161ca0e19e50784cf37e26ebee109d to your computer and use it in GitHub Desktop.
Flush redis database in one line
This file contains hidden or 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
# n: the database number | |
# r: repeat command a number of times | |
# | |
redis-cli -n 4 -r 1 flushall |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment