Redis
접속
$ redis-cli -h {host name or an IP address} -p {port}
$ redis-cli // default : 127.0.0.1 port 6379
HSET
redis> HSET myhash field1 "Hello"
(integer) 1
redis> HGET myhash field1
"Hello"
redis>
HGETALL
redis> HGETALL myhash
1) "field1"
2) "Hello"
3) "field2"
4) "World"
ref : https://redis.io/topics/rediscli
ref : https://redis.io/commands/hset
ref : https://redis.io/commands/hgetall