标签:str strong bsp get one read done apt-get password
1 安装redis:
apt update
apt-get install redis-server
2: cd /etc/redis
3: 用redis-cli导出key
redis-cli -h {redis host} -p 6379 -a {password} keys "*" |while read a;do echo -n $a: ;redis-cli -h {redis host} -p 6379 -a {password} get $a ;done
标签:str strong bsp get one read done apt-get password
原文地址:https://www.cnblogs.com/liufei1983/p/10763535.html