Last active
February 26, 2018 04:20
-
-
Save roc26002w/25461aeedef7a004edd0f1945994f2ae to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## Install | |
* apt-get install redis-server | |
## redis-cli commend line | |
* 檢查連線 | |
* PING | |
* 查詢紀錄的 Key | |
* `keys *` | |
* 查詢紀錄的 Key 數量 | |
* `info keyspace` | |
* 刪除所有的 Key | |
* `flushall` | |
* 取得 Value | |
* `get {key name}` | |
## 參考網址 | |
* https://redis.io/commands |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment