![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Redis
一天进步一点点lgh
这个作者很懒,什么都没留下…
展开
-
Redis中的相关命令
初学Redis,把练习的命令记下来:127.0.0.1:6379> set company tencent OK 127.0.0.1:6379> get company tencent 127.0.0.1:6379> exit [root@CentOS6 redis]# ./bin/redis-cli 127.0.0.1:6379> keys * 1) "company" ...原创 2018-03-08 09:49:58 · 751 阅读 · 0 评论 -
Redis相关命令之List
127.0.0.1:6379> lpush mylist a b c (integer) 3 127.0.0.1:6379> lpush mylist 1 2 3 (integer) 6 127.0.0.1:6379> lrange mylist 0 5 1) "3" 2) "2" 3) "1" 4) "c" 5) "b" 6) "a" 127.原创 2018-03-09 16:42:27 · 308 阅读 · 0 评论