- https://Redis.io/topics/quickstart
- $ Redis-cli ping
- PONG
- Redis-server is the Redis Server itself.
- Redis-sentinel is the Redis Sentinel executable (monitoring and failover).
- Redis-cli is the command line interface utility to talk with Redis.
- Redis-benchmark is used to check Redis performances.
- Redis-check-aof and Redis-check-dump are useful in the rare event of corrupted data files.
- $ Redis-cli
- Redis 127.0.0.1:6379> ping
- PONG
- Redis 127.0.0.1:6379> set mykey somevalue
- OK
- Redis 127.0.0.1:6379> get mykey
- "somevalue"
[Redis]Redis 常用
来源: http://www.bubuko.com/infodetail-2775460.html