Skip to content

Instantly share code, notes, and snippets.

@wakproductions
Last active April 12, 2017 14:17
Show Gist options
  • Save wakproductions/a5e797b3daa5fedd74c3628d77f07e4e to your computer and use it in GitHub Desktop.
Save wakproductions/a5e797b3daa5fedd74c3628d77f07e4e to your computer and use it in GitHub Desktop.
Redis Cheat Sheet

Server Setup

  • The IP Address binding needs to be set in the /etc/redis/redis.conf for it to be available.

Start Server

sudo service redis-server start
CONFIG GET databases
1) "databases"
2) "16"

INFO keyspace
# Keyspace
db0:keys=10,expires=0
db1:keys=1,expires=0
db3:keys=1,expires=0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment