Skip to content

Instantly share code, notes, and snippets.

@dalibor
Created December 28, 2011 15:09
Show Gist options
  • Save dalibor/1528269 to your computer and use it in GitHub Desktop.
Save dalibor/1528269 to your computer and use it in GitHub Desktop.
Redis console example
# redis-cli -p 6379
redis 127.0.0.1:6379> SET visits 1
OK
redis 127.0.0.1:6379> GET visits
"1"
redis 127.0.0.1:6379> INCR visits
(integer) 2
redis 127.0.0.1:6379> exit
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment