use /usr/bin/env to look up the paths for ping and host binaries