// Delete a key
DEL key [key ...]
// Return a serialized version of the value stored at the specified key.
DUMP key
// Determine if a key exists
EXISTS key
// Set a key's time to live in seconds
EXPIRE key seconds
// Set the expiration for a key as a UNIX timestamp
EXPIREAT key timestamp
// Find all keys matching the given pattern
KEYS pattern
// Atomically transfer a key from a Redis instance to another one.
MIGRATE host port key destination-db timeout [COPY] [REPLACE]
// Move a key to another database
MOVE key db
// Inspect the internals of Redis objects
OBJECT subcommand [arguments [arguments ...]]
// Remove the expiration from a key
PERSIST key
// Set a key's time to live in milliseconds
PEXPIRE key milliseconds
// Set the expiration for a key as a UNIX timestamp specified in milliseconds
PEXPIREAT key milliseconds-timestamp
// Get the time to live for a key in milliseconds
PTTL key
// Return a random key from the keyspace
RANDOMKEY
// Rename a key
RENAME key newkey
// Rename a key, only if the new key does not exist
RENAMENX key newkey
// Create a key using the provided serialized value, previously obtained using DUMP.
RESTORE key ttl serialized-value
// Get the time to live for a key
TTL key
// Determine the type stored at key
TYPE key
// Incrementally iterate the keys space
SCAN cursor [MATCH pattern] [COUNT count]
// Sort the elements in a list, set or sorted set
SORT key [BY pattern] [LIMIT offset count] [GET pattern [GET pattern ...]] [ASC|DESC] [ALPHA] [STORE destination]