6 users online | 6 Guests and 0 Registered

How can I send one ping to all historically logged HyperFS clients from a certain subnet?

grep -oE '((1?[0-9][0-9]?|2[0-4][0-9]|25[0-5])\.){3}(1?[0-9][0-9]?|2[0-4][0-9]|25[0-5])' /var/log/bwutils.log | sort | uniq | grep 172.16.10 | xargs -n1 ping -c 1

Be sure to modify the latter grep statement for your desired subnet.

Average rating:0 (0 Votes)


Please enter your login name and password.

Add question

Ask your question below: