1.登陆命令:/usr/local/redis/bin/redis-cli -h 127.0.0.1 -p 6388 -a 123456
2.获取所有key:127.0.0.1:6388> keys *
3.获取指定key:127.0.0.1:6388> keys frd_5
4.获取指定key的类型:127.0.0.1:6388> TYPE frd_5
5.获取指定key的值:127.0.0.1:6388> HGET frd_5 29360136
1.登陆命令:/usr/local/redis/bin/redis-cli -h 127.0.0.1 -p 6388 -a 123456
2.获取所有key:127.0.0.1:6388> keys *
3.获取指定key:127.0.0.1:6388> keys frd_5
4.获取指定key的类型:127.0.0.1:6388> TYPE frd_5
5.获取指定key的值:127.0.0.1:6388> HGET frd_5 29360136