Multiple choice technology operating systems

Which command allows you to determine if a host is connected to the Internet?

  1. ls

  2. dir

  3. ping

  4. host

Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

The ping command sends ICMP echo requests to a target host to test network connectivity and determine if it is reachable. ls and dir are used to list directory contents, while host is used for DNS lookups, making them incorrect for testing connectivity.