Common commands
Keys:keys * View all keys that meet the criteria
Exists:exists key to see if key exists
Del:del Key Delete a key
Expire:expire key time to set the expiration of a key
Move:move key Basenum Transfer the specified key to a different database
Persist:persist key to remove the expiry time of the specified key
Randomkey:randomkey randomly returns a key
Rename:rename key1 key2 Change key1 name to Key2
Type:type key returns the key type of the specified key
Ping:ping to see if the database is connected properly
Echo:echo String Print string
Select:select basenum selected Database, 0-15
Quit:quit exiting the connection
Dbsize:dbsize returns the number of keys for the current library
Info:info Returning Database Information
Monitor:monitor commands currently processed by the monitoring database
Config Get:config get para get para configuration parameters
FLUSHDB:FLUSHDB Delete all keys for the current database
Flushall:flushall Delete all databases key
Redis-Common Command actions