common network utilities/tools

commandline session

$ping www.beautifulwork.org
PING beautifulwork.org (46.22.210.18) 56(84) bytes of data.
64 bytes from mars.infoclub.in (46.22.210.18): icmp_req=1 ttl=53 time=310 ms
64 bytes from mars.infoclub.in (46.22.210.18): icmp_req=2 ttl=53 time=210 ms
64 bytes from mars.infoclub.in (46.22.210.18): icmp_req=3 ttl=53 time=210 ms
64 bytes from mars.infoclub.in (46.22.210.18): icmp_req=4 ttl=53 time=210 ms
64 bytes from mars.infoclub.in (46.22.210.18): icmp_req=5 ttl=53 time=211 ms
^C
--- beautifulwork.org ping statistics ---
5 packets transmitted, 5 received, 0% packet loss, time 4069ms
rtt min/avg/max/mdev = 210.503/230.707/310.307/39.800 ms
$ping -c 2 www.beautifulwork.org
PING beautifulwork.org (46.22.210.18) 56(84) bytes of data.
64 bytes from mars.infoclub.in (46.22.210.18): icmp_req=1 ttl=53 time=302 ms
64 bytes from mars.infoclub.in (46.22.210.18): icmp_req=2 ttl=53 time=209 ms

--- beautifulwork.org ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 1000ms
rtt min/avg/max/mdev = 209.468/256.133/302.799/46.668 ms
$ping -c 2 -i 1 www.beautifulwork.org
PING beautifulwork.org (46.22.210.18) 56(84) bytes of data.
64 bytes from mars.infoclub.in (46.22.210.18): icmp_req=1 ttl=53 time=328 ms
64 bytes from mars.infoclub.in (46.22.210.18): icmp_req=2 ttl=53 time=347 ms

--- beautifulwork.org ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 1000ms
rtt min/avg/max/mdev = 328.452/337.938/347.425/9.504 ms
$netstat  -ntl
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address           Foreign Address         State
tcp        0      0 0.0.0.0:45517           0.0.0.0:*               LISTEN
tcp        0      0 0.0.0.0:111             0.0.0.0:*               LISTEN
tcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN
tcp        0      0 127.0.0.1:25            0.0.0.0:*               LISTEN
tcp6       0      0 :::111                  :::*                    LISTEN
tcp6       0      0 :::22                   :::*                    LISTEN
tcp6       0      0 ::1:25                  :::*                    LISTEN
tcp6       0      0 :::51975                :::*                    LISTEN
$netstat  -ntlp
(Not all processes could be identified, non-owned process info
 will not be shown, you would have to be root to see it all.)
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name
tcp        0      0 0.0.0.0:45517           0.0.0.0:*               LISTEN      -
tcp        0      0 0.0.0.0:111             0.0.0.0:*               LISTEN      -
tcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN      -
tcp        0      0 127.0.0.1:25            0.0.0.0:*               LISTEN      -
tcp6       0      0 :::111                  :::*                    LISTEN      -
tcp6       0      0 :::22                   :::*                    LISTEN      -
tcp6       0      0 ::1:25                  :::*                    LISTEN      -
tcp6       0      0 :::51975                :::*                    LISTEN      -
$sudo netstat  -ntlp
[sudo] password for jeffrin:
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name
tcp        0      0 0.0.0.0:45517           0.0.0.0:*               LISTEN      1859/rpc.statd
tcp        0      0 0.0.0.0:111             0.0.0.0:*               LISTEN      1828/rpcbind
tcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN      3099/sshd
tcp        0      0 127.0.0.1:25            0.0.0.0:*               LISTEN      27100/exim4
tcp6       0      0 :::111                  :::*                    LISTEN      1828/rpcbind
tcp6       0      0 :::22                   :::*                    LISTEN      3099/sshd
tcp6       0      0 ::1:25                  :::*                    LISTEN      27100/exim4
tcp6       0      0 :::51975                :::*                    LISTEN      1859/rpc.statd
$sudo netstat  -n

GNU/Linux Common Network Utilities/Tools – Video Tutorial Related