标签:basic bsp shel class ping for highlight echo 问题
1. 查看可用IP
for i in `seq 1 255`; do ping -c 1 10.210.55.$i >> /dev/null; if [ $? -eq 1 ]; then echo "10.210.55.$i is ready to use"; fi; done
【Linux】【Shell】【Basic】一行代码解决常见问题
标签:basic bsp shel class ping for highlight echo 问题
原文地址:https://www.cnblogs.com/demonzk/p/9412922.html