redis-cli -h
时间: 2023-11-02 20:23:46 浏览: 153
redis-cli命令
redis-cli -h是Redis的命令行客户端的参数,用于指定连接的主机IP地址。在CMD窗口中,切换到Redis安装目录后,通过输入redis-cli -h 127.0.0.1 -p 6379命令来启动Redis客户端,并连接到本地主机(IP地址为127.0.0.1)的默认端口6379上。通过使用这个命令,你可以在命令行中直接与Redis进行交互,并执行各种Redis命令。<span class="em">1</span><span class="em">2</span>
#### 引用[.reference_title]
- *1* [Redis客户端redis-cli命令详解](https://blog.csdn.net/dhdhdh0920/article/details/121879085)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 50%"]
- *2* [redis-rdb-cli:Redis rdb CLI:一种CLI工具,可以解析,过滤,拆分,合并rdb并离线分析内存使用情况。...](https://download.csdn.net/download/weixin_42129113/14956649)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 50%"]
[ .reference_list ]
阅读全文