how to ping a Linux box from a windows box
Hello,
For some programming task I need to Ping a Linux machine from a windows machine Please help me how can i do that when, 1)Both the system are on different network 2)Both the system are on same network. Linux :- Ubantu 14.4 Windows :- WIN 7 Thanks |
Quote:
And the operating system has ABSOLUTELY NOTHING to do with a ping...you say "programming task"...but don't tell us what language, where this is going to run, etc. A ping is an ICMP request...that's all. Doesn't matter what's on the other end. Show us what you've done/tried and tell us where you're stuck. |
|
OK, where is the hidden camera at?
|
Quote:
|
Awright ... awright ... let's puh-leauze try to address this poor soul's question "quasi-seriously." :jawa:
The ping command, fairly-obviously, is supposed to be "operating-system agnostic." Each operating system is expected to provide its own particular implementation of that command, such that, well, "it works!" :) Likewise, each operating system is expected to respond to an incoming 'ping' (if it chooses to do so ...) in the appropriate way. Therefore, "the crux of the (ahem ... h-o-m-e-w-o-r-k(!!) :tisk:) question" is this: "'different network,' or 'same network?'" "Yeah, it is a trick(!) question, and intended(!) so to be!" Therefore ... (in the noble tradition of "homework") ... I leave you with this thought-question: "(Exactly) what is 'the same', versus 'different'?" T-h-a-t is what the author of the original question intended for you to focus-on ... "and it is a very-crucial question, indeed!" Therefore, I shall purposely stop short of herewith supplying the answer. (And, in so doing, I do not(!) "mean to be coy.") |
Quote:
You can always do in Windows like: ping 1.2.3.4 or continuous ping, ping 1.2.3.4 -t Or in Linux ping 1.2.3.4 -continuous ping; ping -c 3 1.2.3.4 (ping 3 times) Good luck! |
Quote:
|
All times are GMT -5. The time now is 07:19 AM. |