I am employed by Splunk as a Sales engineer and blog with a focus on Security. The comments, opinions and information is my own and does not represent my employer.
Sunday, 16 June 2019
Linux One-Liners
Ping Sweep
for i in {1..10}; do ping -W1 -c 1 -n 192.168.1.$i | tr '\n' ' ' | grep '1 packets received' | cut -d ' ' -f 2 ; done
No comments:
Post a Comment