ip check update

This commit is contained in:
변정훈
2023-06-30 10:53:21 +09:00
parent 4b5394b721
commit a2618ccc28
3 changed files with 13 additions and 5 deletions

View File

@@ -3,9 +3,9 @@
start_ip="10.10.43.100"
end_ip="10.10.43.253"
echo "마지막 수행 시간 : $(date +%Y-%m-%d-%r)\n" > README.md
echo "마지막 수행 시간 : $(date +%Y-%m-%d-%r)<br>" > README.md
echo "|주소|사용 여부|" >> README.md
echo "|---|---|" >> README.md
echo "|------|------|" >> README.md
for ((i=${start_ip##*.}; i<=${end_ip##*.}; i++)); do
ip="${start_ip%.*}.${i}"