shell_鍵盤讀入IPping回顯結果

        #!/usr/bin/bash #Author: SHI #Created Time: 2020/05/22 #Script Description: IP reachable shell #定義IPping的方式爲鍵盤讀入 read ip #ping一次且不顯示過程 ping -c1 $ip &>/dev/null #加入if語句框架(判斷ping的結果) if [ $? -eq
相關文章
相關標籤/搜索