Contents
What is the command to check Internet connection in Linux?
How to Check Internet Connectivity in Linux Terminal
- $ ping -c 3 google.com.
- $ curl -I
- $ ping -c 2 192.168.1.1.
What is network commands?
Networking commands are used at the command prompt to get network information like the IP address of the system, MAC address, network route traversed by a packet and the IP address of the server in which a website or URL is hosted.