Home » Tips » Windows Command Prompt: Networking Command You Should Know

Windows Command Prompt: Networking Command You Should Know

IP_Configured-Networking-Command-Prompt-You-Should-Know


Get Help Command

 

To get help on the command prompt, type the command and add this “/?” at the end of the command and press enter, it will give you the details of the command what it does and how is done.

 

Assuming you want help on this “ipconfig/?” and you type it in the command prompt and press enter, information will be given.

 

IP_Configure-Windows-Command-Prompt-Networking-IP-Address

 

 

Find Network Details

 

To get network details such as IP address and Subnet Mask or Default Gateway. Type “ipconfig” and press Enter in the command prompt all the details of your network will be given.

 

IP_Configure-Windows-Command-Prompt-Networking-IP-Address
 

 

To Know IP Address of a Website

 

To know the IP address of any website type into the command prompt “nslookup” command with the website name. Assuming you want to know the IP address of ipconfigured.com, just type “nslookup ipconfigured.com” to get the IP address.
IP_Configure-Windows-Command-Prompt-Networking-nslookup
 

Netstat Command

 

To know about who is establishing a connection with your computer you need this command tool to do that. This command gives you the information about all active connection and listening ports. You can use the Netstatcommand with these attributes
IP_Configure-Windows-Command-Prompt-Networking-netstat
 
Enter net  -a [To display all connection].
Enter net -b [To display executable name].

 

Enter net -n [To sort connection numerical form].

Enter net -r [To display the routing table].

 

IP Command

 

This command is related to networking and is most important for troubleshooting the problems related to TCP/IP.

 

IP_Configure-Windows-Command-Prompt-Networking-IP-Address
To display TCP/IP related Information

 

Enter ipconfig/all

 

To display DNS cache

 

Enter ipconfig/displaydns

 

To delete the local cache of DNS

 

Enter ipconfig/flushdns

Net Related Commands

 

Net is a command tool which is used to see the statistic of network. With this command it gives the information about active connection. This command is used to view or update network settings.

 

To view the services that has started

 

Enter net start (to check the services that are currently running)

 

Enter net stop server (when the server is not running any service).

 

To connect and share network devices use the following command.

 

  • Enter net use m:sharedservername (connecting to share network drives).

 

  • Enter net use m:sharedservername/delete (to disconnect from sharing network drives).

 

 

About Alfred Francis Osei

Leave a Reply

Your email address will not be published. Required fields are marked *

*