1. 进入redis-cli所在目录

  2. 命令./redis-cli启动进入

  3. 如果找不到redis-cli所在目录,可以参考linux查看redis安装目录

更多推荐

Linux 进入redis客户端redis-cli方法