The Command Prompt tool has been around in Windows for many years. It is often viewed as a tool simply for geeks or for programmers. This is actually not the case. As intimidating as it might look, some of the functions you can run using Command Prompt are actually quite simple and easy. Here are the top 3 commands you should know.
Command 1) Ipconfig
The first command you should know is the ipconfig command. The ipconfig command is used to show your computers network configuration. It is possible to add modifiers to this command to get more information or to perform specific functions.
The ipconfig command shows your most important network information including your IP address, subnet mask, and default gateway.
The ipconfig command can be used with the /all modifier (ipconfig/all) to get more detailed information including your MAC address, DNS servers, and DHCP information.
Other modifiers include the ipconfig/release command which is used to release your DHCP lease and the ipconfig/renew command to reacquire a DHCP lease.
Command 2) Ping
The ping command is used to test your network connectivity. The command can be used to ping either an IP address or a domain name. The ping command also tells you your ping time. Ping time is measured in milliseconds. It is the round trip time for the packet to reach the host and to return to the sender. The ping command is extremely useful in many situations. The ping command is commonly used for testing your connectivity to a given server.
It can also show you the stability of your network connection. For example if you ping google.com you will get a response which will show you ping in milliseconds. The ping time can be used in a number of ways. First it can be used to show the the overall latency of your network connection. It can also be used to determine the stability of your connection. If your ping is all over the board your network connection is likely experiencing issues.
The ping command can also be used to diagnose DNS issues. You can identify a name resolution issue if you are able to successfully ping an IP address such as 18.104.22.168 but not a domain name such as google.com.
The ping command is one of the most useful tools for troubleshooting network issues.
Command 3) Tracert
The tracert commend commonly referred to as the trace route command is used to show the network path between a server and a client. The tracert command shows each hop in sequence. Each hop is a different router that that data is routed through on its way to its final destination.
The tracert command is useful for determining how your internet service provider is routing traffic and where your network connection may be stalling out entirely. .
Although the tracert command is one of the more geeky commands it is also useful for anyone who wants to better understand how their data is traveling from point a to point b.
There are hundreds of useful commands that can be run on Windows 10. These 3 commands are a great launchpad to learning more and digging much deeper. Other commands include netstat, nbstat, shutdown, and chkdsk.
Learning how to use the command prompt is a great way to get the most out of Windows 10 and troubleshoot common problems.