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

Dung Do Tien Feb 07 2021 138

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.
  • M

    Marry Christ Feb 07 2021

    To get all keys you can type the command:

      KEYS *

    To get all key contain some character:

      KEYS *Character here* 
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