Wednesday, January 22, 2014

Know if a server is windows based or Linux based or Mac based using command prompt



Goto run->type CMD

IN CMD type

ping target_ip_of_the_server

or
ping myip

Now you will see several ping requests coming

We Are interested in seeing the TTL time which you can see at the end of each request in ping.
NOTE:-
1) If TTL <64 then the server is Linux based
2) If TTL>64 but <128 then the server is Windows bsaed
3) TTL>128 Mac and others.