The CMD is the shell that runs on the Windows operating system. It is also known as Command Prompt and works by using an application called cmd.exe located on the hard disk that you have installed the operating system and then entering a / Windows / System32. The CMD serves to perform functions in the operating system such as open programs, modify and view files and folders or change system settings.
To open the CMD just open and execute CMD (Windows key on the keyboard and R Windows+R)and press ENTER. You can also open it by looking for it in the start menu or in the folder that is located which we already specified in the previous paragraph.
Common commands used in CMD
The number of commands that exist in the CMD are many, so I will focus on the ones I use the most.
- IPCONFIG / ALL. This displays the IP configuration information of your computer. Showing your local IP address, default gateway, MAC Address, DNS, among other related information.
- IPCONFIG / FLUSHDNS. This command is used to clear the cache of DNS servers. Resolved domains are cached so that they do not have to be resolved again. Cleansing the cache will resolve itself again.
- TRACERT. It is a command used to see the path taken by your computer to another network location. It is widely used to diagnose and detect connection loss problems. Used.
- PING. Ping is used to test connections to a specific network destination, with ping you can know the response time between your computer and a server.
- START. Command used to start programs and processes in Windows.
- NSLOOKUP. Displays information about the DNS servers assigned to your computer.