127.0.0.1:6379>set delkey testdel
OK
127.0.0.1:6379> exists delkey
(integer) 1
127.0.0.1:6379> del delkey
(integer) 1
127.0.0.1:6379> exists delkey
(integer) 0
127.0.0.1:6379>set a 1
OK
127.0.0.1:6379>set b 2
OK
127.0.0.1:6379>set c 3
OK
127.0.0.1:6379> del a b c
(integer) 3
连接命令行客户端(redis-cli)redis-cli插入字符串类型的键值对(set key)127.0.0.1:6379> set hello worldOK127.0.0.1:6379> set java jedisOK插入列表类型(list)的键值对(set listkey val1 val2 … valN )127.0.0.1:6379> set mylist a b c d e查看某一个键的值(get key)127.0.0.1:6379> ge