127.0.0.1:6379> rpush mylist a b c
(integer) 3
127.0.0.1:6379> get mylist
(error) WRONGTYPE Operation against a key holding the wrong kind of value
127.0.0.1:6379> lrange mylist 0 3
1) "a"
2) "b"
3) "c"
127.0.0.1:6379> lrange mylist 0 5
1) "a"
2) "b"
3) "c"
127.0.0.1:6379> lpop mylist
"a"
127.0.0.1:6379> LLEN mylist
(integer) 2
127.0.0.1:6379> rpush mylist 34
(integer) 3
127.0.0.1:6379> lrange mylsit 0 5
(empty list or set)
127.0.0.1:6379> lrange mylist 0 5
1) "b"
2) "c"
3) "34"
127.0.0.1:6379> rpop mylist
"34"
127.