Overall reference: http://redis.io/commands
Install the Redis server and the CLI client:
$ sudo apt-get install redis-server
Run the client against cute-server in database 4:
$ redis-cli -h cute-server -n 4
Show all the keys in database 9 in localhost:
$ redis-cli -n 9 KEYS '*'
Show all keys matching regexp *:
KEYS *
Retrieve content for key logstash:beaver (not for lists):
GET logstash:beaver
Retrieve elements 0 to 3 from list logstash:beaver:
LRANGE logstash:beaver 0 3
Length for list queue:
LLEN "queue"
Show all traffic the server is receiving:
MONITOR
Switch to database 14:
SELECT 14