Thepingcommand in Linux is used to check network connectivity to a specific hostname or IP address. It sends ICMP Echo Request packets and measures response times.
nslookupis used for DNS lookups, not connectivity testing.
ifconfigdisplays network interface configurations but does not test connectivity.
digis used for detailed DNS queries.
Contribute your Thoughts:
Chosen Answer:
This is a voting comment (?). You can switch to a simple comment. It is better to Upvote an existing comment if you don't have anything to add.
Submit