19 September 2016

commands

  1. all keys

    1. list all keys

       $ redis-cli keys *
      
    2. delete all keys with a special prefix

       $ redis-cli keys "key_prefix*" | xargs redis-cli del
      


blog comments powered by Disqus