redis bitcount example not working -


i playing redis , tried bitcount example: http://redis.io/commands/bitcount .

127.0.0.1:6379> set mykey "foobar" ok 127.0.0.1:6379> bitcount mykey (error) err unknown command 'bitcount' 

my redis version follows:

mohit@mohit:~$ redis-server --version redis server v=3.0.1 sha=00000000:0 malloc=jemalloc-3.6.0 bits=64 build=ecf41ef76feca5d mohit@mohit:~$ redis-cli --version redis-cli 3.0.1 

i verified website, 3.0.1 latest stable version. went wrong in arrangement?


Comments

Popular posts from this blog

c++ - Difference between pre and post decrement in recursive function argument -

php - Nothing but 'run(); ' when browsing to my local project, how do I fix this? -

php - How can I echo out this array? -