批量检查多台服务器 高亮打印每个IP 绿底红字
for i in $(cat 22.txt); do echo -e "\033[42;31m$i\033[0m"; ssh root@$i "ifconfig"; done