
ping -h를 입력하면 가능한 모든 플래그에 대한 도움말이 표시됩니다.
그러나 처음 몇 문자는 다음과 같습니다: [-AaDdfnoQqRrv]
이게 무슨 뜻일까요? 내 이해에 따르면 A 또는 -a와 같은 플래그는 없으며 적어도 그에 대한 설명은 없습니다.
답변1
어떤 운영 체제를 사용하고 있는지 언급하지 않았습니다. 출력으로 판단하면 Linux의 일부 버전을 사용하고 있다고 추측할 수 있습니다.
[-AaDdfnoQqRrv] 문자는 Ping 명령에 사용할 수 있는 인수입니다. Ping -h는 매우 기본적인 도움말 메시지만 제공합니다. 명령줄(*nix 기반 시스템)에 다음을 입력하여 찾을 수 있는 매뉴얼(man 페이지라고도 함)을 읽어보는 것이 좋습니다.
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.