ping is a simple command that let’s you quickly test if your box is connected to a network. However it’s not always reliable:
AnnouncementI have released my new course on Udemy, Kubernetes By Example. Sign up now to get free lifetime access!
https://www.linux.com/news/ping-icmp-vs-arp (note I couldn’t get arping to work)