Network CMD Lines
Network CMD Lines
Command Prompt is the heart of windows and with a technical point of view, command prompt is
the only good thing in windows for a techie. Command Prompt gives you a feel of how things work
in the back end of windows. For example, if we copy and paste using usual right click feature we
don't get to know what is happening behind the buttons to make copy and paste possible. But if we
copy and paste using command prompt, we get to know how things are done.
BY:SANJU SEHWAG
1. ipconfig: ifconfig is a very basic command which tells theIP(Internet Protocol) address of your
machine if you are connected to the internet. Other information such as default gateway, subnet
mask etc. are also displayed. This command is similar to ifconfig command in linux systems.
Syntax: ipconfig
2. Ping: Ping command is used to check if a host is up or not. It sends 32 bytes of data to the host
whom we want to check, if the reply comes from the host, it means that the host is up.
Syntax: ping xxx.xxx.xxx.xxx (where xxx.xxx.xxx.xxx is the ip you want to check).
Ping command can also be used to check the IP Address of website by pinging them and you can
use that IP Address to open that site too by putting it on the URL box.
Syntax: ping thecyberelite.blogspot.com
If you know the ip of a person, you can gain access to his system using telnet. To open telnet
window, type "telnet"(without quotes) in the command prompt. Here is an example of a simple
telnet command used to open a connection.
Syntax: o xxx.xxx.xxx 171 (o: means "open", 23: default port for telnet)
Various other commands of telnet can also be used once the connection is established to the client
machine. Simple type "help" in the telnet windows to see other options.
4. ARP: "arp" stands for Address Resolution Protocol and this command is used to monitor the
network stats and connections. Address Resolution Protocol means that it link ip address to physical
address or mac address. ARP command comes handy when you are in a school, college, office
network. This command is available by simply typing "arp" in command prompt.
Syntax: arp -a (This command displays a list of current ARP entries)
Syntax: arp -d xxx.xxx.xxx.xxx(This command deletes a host specified by you from network, here
xxx.xxx.xxx.xxx is the specified host).
5. nslookup: This is a very useful command which you name of your domain and it's ip address.
Syntax: nslookup
You can also find information about an ip in using the same server in your netowrk by just simply
typing name of the ip in the nslookup window.
6. Ne