Server Command Info
# Redis Command Info Command
* (javascript:void(0);)
* (javascript:void(0);)
* (javascript:void(0);)
* (javascript:void(0))
Redis Tutorial
(#)(#)(#)(#)(#)
## Redis Commands
(#)(#)(#)(#)(#)(#)(#)(#)[Redis Pub/Sub](#)(#)(#)(#)(#)(#)(#)
## Redis Advanced Tutorial
(#)(#)(#)(#)(#)(#)(#)(#)
[](#)(#)
(#)[](#)
# Redis Command Info Command
!(#)(#)
The Redis Command Info command is used to retrieve description information about Redis commands.
### Syntax
The basic syntax of the Redis Command Info command is as follows:
redis 127.0.0.1:6379> COMMAND INFO command-name [command-name ...]
### Available Versions
>= 2.8.13
### Return Value
A nested list containing command description information.
### Example
redis 127.0.0.1:6379> COMMAND INFO get set eval 1) 1) "get" 2) (integer) 2 3) 1) readonly 2) fast 4) (integer) 1 5) (integer) 1 6) (integer) 12) 1) "set" 2) (integer) -3 3) 1) write 2) denyoom 4) (integer) 1 5) (integer) 1 6) (integer) 13) 1) "eval" 2) (integer) -3 3) 1) noscript 2) movablekeys 4) (integer) 0 5) (integer) 0 6) (integer) 0 redis> COMMAND INFO foo evalsha config bar 1) (nil)2) 1) "evalsha" 2) (integer) -3 3) 1) noscript 2) movablekeys 4) (integer) 0 5) (integer) 0 6) (integer) 03) 1) "config" 2) (integer) -2 3) 1) readonly 2) admin 3) stale 4) (integer) 0 5) (integer) 0 6) (integer) 04) (nil)
!(#)(#)
YouTip