ping command to use actual ping if host is given