$ ping 8.8.8.8
ping: icmp open socket: Operation not permitted
$ sudo ping 8.8.8.8
PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data.
64 bytes from 8.8.8.8: icmp_seq=1 ttl=44 time=101 ms
64 bytes from 8.8.8.8: icmp_seq=2 ttl=44 time=101 ms
64 bytes from 8.8.8.8: icmp_seq=3 ttl=44 time=101 ms
64 bytes from 8.8.8.8: icmp_seq=4 ttl=44 time=101 ms
^C
--- 8.8.8.8 ping statistics ---
4 packets transmitted, 4 received, 0% packet loss, time 3004ms
rtt min/avg/max/mdev = 101.249/101.404/101.650/0.418 ms