Skip to content

Redis

Useful commands

redis-cli FLUSHDB  # delete all the keys of the currently selected DB.
redis-cli FLUSHALL # delete all the keys of all the existing databases, not just the currently selected one.