
當我輸入 ping -h 時,我會得到有關所有可能標誌的幫助。
然而,前幾個字元是:[-AaDdfnoQqRrv]
這應該意味著什麼?根據我的理解,沒有 A 或 -a 這樣的標誌,至少沒有解釋。
答案1
您沒有提及您使用的作業系統。從輸出來看,我猜測您正在使用某種風格的 Linux。
字元 [-AaDdfnoQqRrv] 是 Ping 指令的可能參數。 Ping -h 僅提供非常基本的協助訊息。我建議您閱讀手冊(也稱為手冊頁),您可以透過在命令列中輸入以下內容來找到它(在基於 *nix 的系統上)。
man ping
它將為您提供更多信息,例如:
OPTIONS
-a Audible ping.
-A Adaptive ping. Interpacket interval adapts to round-trip time, so that effectively not more than one (or more, if preload is
set) unanswered probe is present in the network. Minimal interval is 200msec for not super-user. On networks with low rtt this
mode is essentially equivalent to flood mode.
-b Allow pinging a broadcast address.
-B Do not allow ping to change source address of probes. The address is bound to one selected when ping starts.