redis-cli-连接

1.auth password 
验证密码是否正确
 
2.echo message 
打印字符串
 
3.ping 
查看服务是否运行
 
4.quit 
关闭当前连接
 
5.select index 
切换到指定的数据库