Consider this example function to check if a host is up: is_alive() { ping -c1 "$1" &> /dev/null }. This function sends a single ping to the host specified ...
確定! 回上一頁