# 切换目录
[root@localhost /]# cd /opt/redis-4.0.10

# 启动客户端 -p 指定端口
[root@localhost ~]# redis-cli -p 6380

 

 

 正则匹配