ping 이요~~

sinweb의 이미지

ping -c2

여기서 -c2 의 의미가 뭔가요?

meinside의 이미지

# man ping

PING(8) BSD System Manager's Manual PING(8)

NAME
ping - send ICMP ECHO_REQUEST packets to network hosts

SYNOPSIS
ping [-dfnqrvR] [-c count] [-i wait] [-l preload] [-p pattern]
[-s packetsize] [-w waittime]

DESCRIPTION
Ping uses the ICMP protocol's mandatory ECHO_REQUEST datagram to elicit
an ICMP ECHO_RESPONSE from a host or gateway. ECHO_REQUEST datagrams
(``pings'') have an IP and ICMP header, followed by a ``struct timeval''
and then an arbitrary number of ``pad'' bytes used to fill out the
packet. The options are as follows: Other options are:

-c count
Stop after sending (and receiving) count packets. After the pack-
ets are sent, ping will wait up to ten seconds for replies to
arrive, then exit.

..............

2번 보냅니다.

--

“Life is like riding a bicycle. To keep your balance, you must keep moving.”

- Albert Einstein