批量检查多台服务器 高亮打印每个IP 绿底红字

批量检查多台服务器 高亮打印每个IP 绿底红字

for i in $(cat 22.txt); do echo -e "\033[42;31m$i\033[0m"; ssh root@$i "ifconfig"; done

猜你喜欢

转载自blog.csdn.net/u010953692/article/details/134527894
今日推荐