redis 127.0.0.1:6379> help @generic
DEL key [key …]
summary: Delete a key
since: 0.07
EXPIRE key seconds
summary: Set a key’s time to live in seconds
since: 0.09
EXPIREAT key timestamp
summary: Set the expiration for a key as a UNIX timestamp
since: 1.1
KEYS pattern
summary: Find all keys matching the given pattern
since: 0.07
MOVE key db
summary: Move a key to another database
since: 0.07
PERSIST key
summary: Remove the expiration from a key
since: 2.1.2
RANDOMKEY –
summary: Return a random key from the keyspace
since: 0.07
RENAME key newkey
summary: Rename a key
since: 0.07
RENAMENX key newkey
summary: Rename a key, only if the new key does not exist
since: 0.07
SORT key [BY pattern] [LIMIT offset count] [GET pattern [GET pattern …]] [ASC|DESC] [ALPHA] [STORE destination]
summary: Sort the elements in a list, set or sorted set
since: 0.07
TTL key
summary: Get the time to live for a key
since: 0.100
TYPE key
summary: Determine the type stored at key
since: 0.07
redis 127.0.0.1:6379> help @set
SADD key member
summary: Add a member to a set
since: 0.07
SCARD key
summary: Get the number of members in a set
since: 0.07
SDIFF key [key …]
summary: Subtract multiple sets
since: 0.100
SDIFFSTORE destination key [key …]
summary: Subtract multiple sets and store the resulting set in a key
since: 0.100
SINTER key [key …]
summary: Intersect multiple sets
since: 0.07
SINTERSTORE destination key [key …]
summary: Intersect multiple sets and store the resulting set in a key
since: 0.07
SISMEMBER key member
summary: Determine if a given value is a member of a set
since: 0.07
SMEMBERS key
summary: Get all the members in a set
since: 0.07
SMOVE source destination member
summary: Move a member from one set to another
since: 0.091
SPOP key
summary: Remove and return a random member from a set
since: 0.101
SRANDMEMBER key
summary: Get a random member from a set
since: 1.001
SREM key member
summary: Remove a member from a set
since: 0.07
SUNION key [key …]
summary: Add multiple sets
since: 0.091
SUNIONSTORE destination key [key …]
summary: Add multiple sets and store the resulting set in a key
since: 0.091
redis 127.0.0.1:6379> help @string
APPEND key value
summary: Append a value to a key
since: 1.3.3
DECR key
summary: Decrement the integer value of a key by one
since: 0.07
DECRBY key decrement
summary: Decrement the integer value of a key by the given number
since: 0.07
GET key
summary: Get the value of a key
since: 0.07
GETBIT key offset
summary: Returns the bit value at offset in the string value stored at key
since: 2.1.8
GETSET key value
summary: Set the string value of a key and return its old value
since: 0.091
INCR key
summary: Increment the integer value of a key by one
since: 0.07
INCRBY key increment
summary: Increment the integer value of a key by the given number
since: 0.07
MGET key [key …]
summary: Get the values of all the given keys
since: 0.07
MSET key value [key value …]
summary: Set multiple keys to multiple values
since: 1.001
MSETNX key value [key value …]
summary: Set multiple keys to multiple values, only if none of the keys exist
since: 1.001
SET key value
summary: Set the string value of a key
since: 0.07
SETBIT key offset value
summary: Sets or clears the bit at offset in the string value stored at key
since: 2.1.8
SETEX key seconds value
summary: Set the value and expiration of a key
since: 1.3.10
SETNX key value
summary: Set the value of a key, only if the key does not exist
since: 0.07
SETRANGE key offset value
summary: Overwrite part of a string at key starting at the specified offset
since: 2.1.8
STRLEN key
summary: Get the length of the value stored in a key
since: 2.1.2
SUBSTR key start end
summary: Get a substring of the string stored at a key
since: 1.3.4
redis 127.0.0.1:6379> help @list
BLPOP key [key …] timeout
summary: Remove and get the first element in a list, or block until one is available
since: 1.3.1
BRPOP key [key …] timeout
summary: Remove and get the last element in a list, or block until one is available
since: 1.3.1
BRPOPLPUSH source destination timeout
summary: Pop a value from a list, push it to another list and return it; or block until one is available
since: 2.1.7
LINDEX key index
summary: Get an element from a list by its index
since: 0.07
LINSERT key BEFORE|AFTER pivot value
summary: Insert an element before or after another element in a list
since: 2.1.1
LLEN key
summary: Get the length of a list
since: 0.07
LPOP key
summary: Remove and get the first element in a list
since: 0.07
LPUSH key value
summary: Prepend a value to a list
since: 0.07
LPUSHX key value
summary: Prepend a value to a list, only if the list exists
since: 2.1.1
LRANGE key start stop
summary: Get a range of elements from a list
since: 0.07
LREM key count value
summary: Remove elements from a list
since: 0.07
LSET key index value
summary: Set the value of an element in a list by its index
since: 0.07
LTRIM key start stop
summary: Trim a list to the specified range
since: 0.07
RPOP key
summary: Remove and get the last element in a list
since: 0.07
RPOPLPUSH source destination
summary: Remove the last element in a list, append it to another list and return it
since: 1.1
RPUSH key value
summary: Append a value to a list
since: 0.07
RPUSHX key value
summary: Append a value to a list, only if the list exists
since: 2.1.1
redis 127.0.0.1:6379> help @set
SADD key member
summary: Add a member to a set
since: 0.07
SCARD key
summary: Get the number of members in a set
since: 0.07
SDIFF key [key …]
summary: Subtract multiple sets
since: 0.100
SDIFFSTORE destination key [key …]
summary: Subtract multiple sets and store the resulting set in a key
since: 0.100
SINTER key [key …]
summary: Intersect multiple sets
since: 0.07
SINTERSTORE destination key [key …]
summary: Intersect multiple sets and store the resulting set in a key
since: 0.07
SISMEMBER key member
summary: Determine if a given value is a member of a set
since: 0.07
SMEMBERS key
summary: Get all the members in a set
since: 0.07
SMOVE source destination member
summary: Move a member from one set to another
since: 0.091
SPOP key
summary: Remove and return a random member from a set
since: 0.101
SRANDMEMBER key
summary: Get a random member from a set
since: 1.001
SREM key member
summary: Remove a member from a set
since: 0.07
SUNION key [key …]
summary: Add multiple sets
since: 0.091
SUNIONSTORE destination key [key …]
summary: Add multiple sets and store the resulting set in a key
since: 0.091
redis 127.0.0.1:6379> help @sorted_set
ZADD key score member
summary: Add a member to a sorted set, or update its score if it already exists
since: 1.1
ZCARD key
summary: Get the number of members in a sorted set
since: 1.1
ZCOUNT key min max
summary: Count the members in a sorted set with scores within the given values
since: 1.3.3
ZINCRBY key increment member
summary: Increment the score of a member in a sorted set
since: 1.1
ZINTERSTORE destination numkeys key [key …] [WEIGHTS weight] [AGGREGATE SUM|MIN|MAX]
summary: Intersect multiple sorted sets and store the resulting sorted set in a new key
since: 1.3.10
ZRANGE key start stop [WITHSCORES]
summary: Return a range of members in a sorted set, by index
since: 1.1
ZRANGEBYSCORE key min max [WITHSCORES] [LIMIT offset count]
summary: Return a range of members in a sorted set, by score
since: 1.050
ZRANK key member
summary: Determine the index of a member in a sorted set
since: 1.3.4
ZREM key member
summary: Remove a member from a sorted set
since: 1.1
ZREMRANGEBYRANK key start stop
summary: Remove all members in a sorted set within the given indexes
since: 1.3.4
ZREMRANGEBYSCORE key min max
summary: Remove all members in a sorted set within the given scores
since: 1.1
ZREVRANGE key start stop [WITHSCORES]
summary: Return a range of members in a sorted set, by index, with scores ordered from high to low
since: 1.1
ZREVRANGEBYSCORE key max min [WITHSCORES] [LIMIT offset count]
summary: Return a range of members in a sorted set, by score, with scores ordered from high to low
since: 2.1.6
ZREVRANK key member
summary: Determine the index of a member in a sorted set, with scores ordered from high to low
since: 1.3.4
ZSCORE key member
summary: Get the score associated with the given member in a sorted set
since: 1.1
ZUNIONSTORE destination numkeys key [key …] [WEIGHTS weight] [AGGREGATE SUM|MIN|MAX]
summary: Add multiple sorted sets and store the resulting sorted set in a new key
since: 1.3.10
redis 127.0.0.1:6379> help @hash
HDEL key field
summary: Delete a hash field
since: 1.3.10
HEXISTS key field
summary: Determine if a hash field exists
since: 1.3.10
HGET key field
summary: Get the value of a hash field
since: 1.3.10
HGETALL key
summary: Get all the fields and values in a hash
since: 1.3.10
HINCRBY key field increment
summary: Increment the integer value of a hash field by the given number
since: 1.3.10
HKEYS key
summary: Get all the fields in a hash
since: 1.3.10
HLEN key
summary: Get the number of fields in a hash
since: 1.3.10
HMGET key field [field …]
summary: Get the values of all the given hash fields
since: 1.3.10
HMSET key field value [field value …]
summary: Set multiple hash fields to multiple values
since: 1.3.8
HSET key field value
summary: Set the string value of a hash field
since: 1.3.10
HSETNX key field value
summary: Set the value of a hash field, only if the field does not exist
since: 1.3.8
HVALS key
summary: Get all the values in a hash
redis 127.0.0.1:6379> help @pubsub
PSUBSCRIBE pattern
summary: Listen for messages published to channels matching the given patterns
since: 1.3.8
PUBLISH channel message
summary: Post a message to a channel
since: 1.3.8
PUNSUBSCRIBE [pattern [pattern …]]
summary: Stop listening for messages posted to channels matching the given patterns
since: 1.3.8
SUBSCRIBE channel
summary: Listen for messages published to the given channels
since: 1.3.8
UNSUBSCRIBE [channel [channel …]]
summary: Stop listening for messages posted to the given channels
since: 1.3.8
redis 127.0.0.1:6379> help @transactions
DISCARD –
summary: Discard all commands issued after MULTI
since: 1.3.3
EXEC –
summary: Execute all commands issued after MULTI
since: 1.1.95
MULTI –
summary: Mark the start of a transaction block
since: 1.1.95
UNWATCH –
summary: Forget about all watched keys
since: 2.1.0
WATCH key [key …]
summary: Watch the given keys to determine execution of the MULTI/EXEC block
since: 2.1.0
redis 127.0.0.1:6379> help @connection
AUTH password
summary: Authenticate to the server
since: 0.08
ECHO message
summary: Echo the given string
since: 0.07
PING –
summary: Ping the server
since: 0.07
QUIT –
summary: Close the connection
since: 0.07
SELECT index
summary: Change the selected database for the current connection
since: 0.07
redis 127.0.0.1:6379> help @server
BGREWRITEAOF –
summary: Asynchronously rewrite the append-only file
since: 1.07
BGSAVE –
summary: Asynchronously save the dataset to disk
since: 0.07
CONFIG GET parameter
summary: Get the value of a configuration parameter
since: 2.0
CONFIG RESETSTAT –
summary: Reset the stats returned by INFO
since: 2.0
CONFIG SET parameter value
summary: Set a configuration parameter to the given value
since: 2.0
DBSIZE –
summary: Return the number of keys in the selected database
since: 0.07
DEBUG OBJECT key
summary: Get debugging information about a key
since: 0.101
DEBUG SEGFAULT –
summary: Make the server crash
since: 0.101
EXISTS key
summary: Determine if a key exists
since: 0.07
FLUSHALL –
summary: Remove all keys from all databases
since: 0.07
FLUSHDB –
summary: Remove all keys from the current database
since: 0.07
INFO –
summary: Get information and statistics about the server
since: 0.07
LASTSAVE –
summary: Get the UNIX time stamp of the last successful save to disk
since: 0.07
MONITOR –
summary: Listen for all requests received by the server in real time
since: 0.07
SAVE –
summary: Synchronously save the dataset to disk
since: 0.07
SHUTDOWN –
summary: Synchronously save the dataset to disk and then shut down the server
since: 0.07
SLAVEOF host port
summary: Make the server a slave of another instance, or promote it as master
since: 0.100
SYNC –
summary: Internal command used for replication
since: 0.07