How do I know if a remote machine is using Windows or Linux? Answer
7 Answers. If you’re on an IPv4 network, just use ping. If the response has a TTL of 128, the target is probably running Windows. If the TTL is 64, the target is probably running some variant of Unix.