Top 10 Command Prompt (CMD) Hacks

    Hey There, In this article, we will see some of the cool command prompt hacks and tricks that every user should know.

Top 10 Command Prompt (CMD) Hacks

We all know that command prompt is one of the most powerful command-line interpreters on Windows OS. Most Windows users don't know the uses of command prompt. However, hackers or some professional users, know how to make full use of command prompt.


Let's just keep all the things aside and Let the tech begin!

First things first, you have to open the command prompt in the administrator mode every time you execute these commands.


1. ping

This command uses your internet connection in order to send some packets of data to a specific web address. Then these packets are sent back to your PC. This test simply shows the amount of time it took to reach the specific address.

In simple words, it will let you know if the host you're pinging is alive or not. We have to type the following command to run it. Replace the x.x.x.x with the IP address.

ping x.x.x.x


2. nslookup

It is a network administration command-line tool, which helps you to obtain a domain name or IP address, mapping for any specific DNS record.

Suppose you have a website URL, but you want to know its IP address, you can simply use this nslookup. We have to type the following command to run it. Replace the URL with the website URL.

nslookup URL


3. tracert

Traceroot is just like its name. It allows us to trace the root that an IP package has taken to reach the destination.

The command calculates and displays the amount of time each hop took to reach a destination. We have to type the following command to run it. Replace the x.x.x.x with the IP address. If you don't know the IP address, you can even replace the IP address section with the website URL.

tracert x.x.x.x


4. ipconfig

This is the command which shows every useful thing. It will show you IPV6 address, temporary IPV6 address, IPV4 address, subnet mask, default gateway, and all other things that you want to know.

You just have to type 'ipconfig'.

ipconfig

You can even type 'ipconfig/all', to view all the addresses.

ipconfig/all


5. netstat

If you want to find out who is establishing a connection with your computer, then you can use netstat command.

It will display all the connections and you will get to know about the active connections and the listening ports. We have to type the following command to run it.

netstat -a


6. arp

This command helps you to modify the ARP cache. This command also helps users to find out if anyone has done ARP poisoning in their local area network.

We can run this command on each computer to see whether the computers have the correct MAC address listed for each other to ping each other successfully on the same subnet. We have to type the following command to run it.

arp -a


7. route

It is the command which is used to view and manipulate the IP routing table in any windows operating system.

This command will show you the routing table, metric, and interface. We have to type the following command to run it.

route print


8. net view

This command displays the whole list of resources, computer subdomains that are shared by a specified computer.

You have the type in command prompt 'net view computer name'. To know your computer name, right-click on this PC and head over to properties to check the same. We have to type the following command to run it.

net view computer name


9. tasklist

This command opens up an entire task manager on the command prompt. We just have to enter 'tasklist' and then press enter to see all the running processes.

tasklist

Moreover, we can forcefully close any process. To do that, we have to type the following command to run it. Replace the xxxx with the PID for the running application you want to close. You can find the PID of the process from the tasklist command executed earlier.

taskkill /PID xxxx /F

Then you will be shown a popup that the process with the given PID has been successfully terminated. The process is completely terminated even from background processing.

10. getmac

Getmac commands are mostly used to get the MAC address. As we all know, MAC addresses are assigned by the manufacturer and stored on the hardware.

With each network-connected adapter, you get a separate MAC address. For instance, your ethernet, wifi would have a separate MAC address.

So, 'getmac' command is used to fetch the MAC address stored in the device's hardware. We have to type the following command to run it.

getmac

Here is the video on Top 10 Command Prompt (CMD) Hacks featuring the tricks mentioned above on our own YouTube channel. Do watch it to know more information about these tricks.



Conclusion

Overall, We think these will be pretty much some cool and useful commands for almost all of us. If we missed any of the simple and best commands, tell us about them in the comments below!

So, That was all about the top 10 command prompt tricks. Keep supporting Techniverse Spotted for more cool and interesting stuff.

Post a Comment

Previous Post Next Post