Redis Command Getkeys Command
The Redis Command Getkeys command is used to get all keys.
Syntax
The basic syntax of the redis Command Getkeys command is as follows:
redis 127.0.0.1:6379> COMMAND GETKEYS
Available Version
= 2.8.13
Return Value
A list of keys.
Example
redis 127.0.0.1:6379> COMMAND GETKEYS MSET a b c d e f
1) "a"
2) "c"
3) "e"