摘要: 1.一种 telnet localhost 200001 #登陆 stats #查看状态 flush_all #清理 quit #退出 2.又学到一个: echo 'flush_all' | nc localhost 200001 3. 1、数据存储(假设key为test,value为12345) printf "set test 0 0 5\r\n12345\r\n" | nc 127.0.0.1 200001 STORED 2、数据取回(假设key为test) printf "get test\r\n" | nc 127.0.0.1 阅读全文
posted @ 2013-04-17 16:07 瑞尼书苑 阅读(220) 评论(0) 推荐(0) 编辑