Sponsored Content
Full Discussion: How to know if I am Pinged?
Top Forums Shell Programming and Scripting How to know if I am Pinged? Post 302795179 by Corona688 on Wednesday 17th of April 2013 11:31:06 AM
Old 04-17-2013
That's kind of backwards; usually you ping something else, and the ping command can then tell you whether it responds.
 

We Also Found This Discussion For You

1. UNIX for Advanced & Expert Users

Condition to test if a host can be pinged

I have a much larger script that takes an input file of hosts and determines if we support them and checks to ensure the FQDN coincides with our DNS. For instance, the hostname may return a different FQDN when passed to the "host" command, so I keep the value of the output of the "host" command... (4 Replies)
Discussion started by: MaindotC
4 Replies
All times are GMT -4. The time now is 11:24 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy