That really depends on how your DNS-server responds to dns-requests for a non-existant domain.
Linux is probably intelligent enough to detect that you wanted to ping an IP but that the IP was misswritten.
If you enter 192.168.1.1127 into a webbrowser on windows you can see that it tries to resolve the misswritten IP as if it where a domain-name.