Junior — Middle
Which command is used to determine the route of a packet from your device to the target host?
sobes.tech AI
Answer from AI
To determine the route of a packet from your device to the target host, the traceroute command (on Linux and macOS) or tracert (on Windows) is used.
This command shows the sequence of intermediate nodes (hops) that the packet passes through, as well as the response time of each node.
Example usage on Linux/macOS:
traceroute example.com
On Windows:
tracert example.com