Created
November 11, 2019 14:43
-
-
Save bussiere/9808f90ed82c6772ac330e39841fc239 to your computer and use it in GitHub Desktop.
redis cmd
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
Delete all keys from all Redis databases: | |
$ redis-cli FLUSHALL | |
Delete all keys of the currently selected Redis database: | |
$ redis-cli FLUSHDB | |
Delete all keys of the specified Redis database: | |
$ redis-cli -n <database_number> FLUSHDB |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment