Thursday 24 December 2020

9 Most important CMD commands of 2020

 1. ping




This command will let you know if your host is currently available. This means that when the ping command is executed, the host will send you a reply if it is connected.






To use this command, just enter the phrase ping with the IP or domain of the site or client. for example:




ping 8.8.8.8ping www.google.com






The response received from the host indicates its status. The shorter the time in front of the time and the error-free response received, the higher the connection speed and the more stable the situation.






And




2. nslookup :




This command has various uses. One of them is finding IP from DNS. Suppose you know the address of a site but are unaware of its IP. You can use this command to find out the IP of any site. for example:




nslookup www.google.com






Another application of nslookup in finding IP is a specific server mail. For example, to find the IP address of Yahoo servers, these commands must be entered in order:




nslookup set type = mx yahoo.com








And




3. tracert




With this command, you can get good information about the path that a packet takes in the network to reach its destination. This command (trickster) is very useful for routing packets sent to the destination. Example:




tracert 8.8.8.8tracert www.google.com








4. arp :




This command displays the arp table for you. In this table, IPs and their MAC equivalent addresses are stored. If there is an illegal activity on your network and, for example, a network card has been replaced without your permission, you can easily find out through this table:




arp -a








And




5. route :




This command gives you complete information about the list of network cards, routing tables, and portals for each:




route print




6. ipconfig :




This command provides useful information about your IP and Gateway, the DNS in use, and the like:




ipconfig




Or




ipconfig / all








And






Also, if you use dynamic IP and want to change your IP, you can do this with the following commands:




ipconfig / release ipconfig / renew




7. netstat :




This command displays the status of your connections:




netstat






Displays all ports that are in the listening mode and connects with the DNS name:




netstat -a








Display all open and IP connections:




netstat -n








Combining the above two modes:




netstat -an








The following command also displays all folders shared on the destination computer:




net view x.x.x.x.




Or




net view computername




Instead of x.x.x.x and computername, you must enter the IP address or computer name.




8. netuser




This command changes the Windows account password without knowing the previous password:




net user Tarfandestan *




Enter Windows username instead of Tarfandestan and enter the new password after pressing Enter.






And




9. Other commands :




There are other commands that can help you.








Connect to the destination device with Administrator access:




net use \ ipaddressipc $ “” / user: administrator




Enter the IP address instead of the ipaddress.








After connecting to the destination, use this command if you want to browse the entire C drive:

No comments:

Post a Comment