Server Command Getkeys
# Redis Command Getkeys Command
* (javascript:void(0);)
* (javascript:void(0);)
* (javascript:void(0);)
* (javascript:void(0))
Redis Tutorial
(#)(#)(#)(#)(#)
## Redis Commands
(#)(#)(#)(#)(#)(#)(#)(#)[Redis Publish/Subscribe](#)(#)(#)(#)(#)(#)(#)
## Redis Advanced Tutorial
(#)(#)(#)(#)(#)(#)(#)(#)
[](#)(#)
(#)[](#)
# Redis Command Getkeys Command
!(#)(#)
The Redis Command Getkeys command is used to retrieve all keys.
### Syntax
The basic syntax of the Redis Command Getkeys command is as follows:
redis 127.0.0.1:6379> COMMAND GETKEYS
### Available Versions
>= 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"
!(#)(#)
YouTip