to ping a particular host it has syntax
c:/>ping hostname.com
ex:- c:/>ping www.google.com

It's syntax is (at command prompt)--
c:/>tracert www.hostname.com
example:- c:/>tracert www.insecure.in
Telnet :- Telnet is a program which runs on TCP/IP. we can connect to the remote computer on particular port by using it. When connected it grabs the daemon running on that port.
The basic syntax of Telnet is (at command prompt)--
c:/>telnet hostname.com
By default telnet connects to port 23 of remote computer.
So, the complete syntax is-
c:/>telnet www.hostname.com port
example:- c:/>telnet www.yahoo.com 21 or c:/>telnet 192.168.0.5 21
Netstat :- It displays protocol statistics and current TCP/IP network connections
It's syntax is (at command prompt)--
c:/>netstat -n

0 comments:
Post a Comment