What is Redis command to get all available keys in Ubuntu?

Dung Do Tien Feb 07 2021 18

In Ubuntu OS I have installed Redis on it. After access to Redis by redis-cli command, I want to show all keys have in Redis, how can I do?

Have 1 answer(s) found.
  • To get all keys you can type the command:

     KEYS *

    To get all key contain some character:

     KEYS *Character here*
    
    Marry Christ Feb 07 2021
Leave An Answer
* NOTE: You need Login before leave an answer

* Type maximum 2000 characters.

* All comments have to wait approved before display.

* Please polite comment and respect questions and answers of others.

Popular Tips

X Close