
ping -h と入力すると、すべての可能なフラグに関するヘルプが表示されます。
ただし、最初の数文字は次のようになります: [-AaDdfnoQqRrv]
これはどういう意味でしょうか? 私の理解では、A や -a のようなフラグは存在しません。少なくとも、それについての説明はありません。
答え1
使用しているオペレーティング システムについては言及されていません。出力から判断すると、何らかの Linux を使用していると推測します。
[-AaDdfnoQqRrv] という文字は、Ping コマンドの引数として使用できます。Ping -h では、非常に基本的なヘルプ メッセージのみが表示されます。コマンド ラインに次のように入力すると、マニュアル (man ページとも呼ばれます) が見つかります (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.