# find etcd/ |xargs grep -ri "IP" |grep -ri "redis" |awk -F":" '{print $2,$3}' |awk -F"/" '{print $3,$4}’
# find etcd/ |xargs grep -rE "IP|redis_db" |awk -F"/" '{print $3,$4}' |grep -w "redis=IP" -A 3 |sort -u | egrep "redis_db"
# find etcd/ |xargs grep -ri "IP" |grep -ri "redis" |awk -F":" '{print $2,$3}' |awk -F"/" '{print $3,$4}’
# find etcd/ |xargs grep -rE "IP|redis_db" |awk -F"/" '{print $3,$4}' |grep -w "redis=IP" -A 3 |sort -u | egrep "redis_db"
本文标题:通过 ip 查询 id信息
本文链接:https://www.haomeiwen.com/subject/bmgaeftx.html
网友评论