Originally posted here by cybernetic
1. How do I make ping command ping the host only once?
man ping


2. How does the program determine if the host is alive or not?
man ping