Ping several hosts taking target IPs from a text file
Consider a file containing target IPs, one ip per line
With the following line you can ping them sequentially for ip in `sort -u file` ; do fping -q -a -t200 ${ip} ; done Only the ones that reply will be displayed on your screen
No comments:
Post a Comment