CNET News.com

Monday, January 25, 2010

BASIC DOS COMMANDS FOR NETWORKING

PING: Ping is a command that allows you to check whether the host is alive or not.
             to ping a particular host it has syntax
           c:/>ping hostname.com
          ex:- c:/>ping www.google.com
 Tracert :-  used to trace the route taken by the certain data packets from source to destination.
                     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

news

Loading...

Video Bar

Loading...

Slideshow

Loading...