Basic Command Propt Tricks

How about we begin simple… 

1) ping : This summon will enable you to know whether the host you pinging is alive, which implies on the off chance that it is up at the season of executing the "ping" charge.

ping x.x.x.x (x is the IP address). You can have a go at pinging 8.8.8.8 which has a place with Google

or on the other hand

ping (www.google.com is the site you need to ping, however you don't have the foggiest idea about the IP)

2) nslookup : This charge has numerous functionalities. One is for settling DNS into IP. Lets say you know the site URL however you don't have a clue about its IP yet you need to discover it out.

Eg. nslookup (www.google.com is the site for which you need to discover the IP)

Presently, another extremely pleasant capacity of nslookup is to discover IP of particular Mail Severs

NSLOOKUP (ENTER) 

SET TYPE=MX (ENTER) 

YAHOO.COM 

This charge will give you the mail server IP of yahoo.com. You can utilize whatever server you need and in the event that it is recorded on DNS, at that point you get the IP. Straightforward, would it say it isn't? You can send a ridiculed email to your companions utilizing the IP address of the mail server. You can check the instructional exercise here for sending caricature email.

3) tracert : This summon will give you the bounces that a parcel will go to achieve its last goal. This order is extremely useful in the event that you know the highway a parcel takes before it goes to the objective box.

tracert x.x.x.x (x is the IP address)

or then again

tracert (www.google.com is the site you don't have the foggiest idea about the IP)

4) arp : This summon will demonstrate to you the arp table. You can see whether anybody has done arp harming in your LAN utilizing this charge.

arp - a

5) course : This summon will demonstrate to you the directing table, passage, interface and metric.

CODE:

Course PRINT

6) ipconfig : This summon will demonstrate to you a considerable measure of helpful things like your IP, Gateway, DNS being used, and so forth. This charge will give all that data however for all systems, you may have it.

Code:

ipconfig

or then again

Code:

ipconfig/all

Likewise, in the event that you have a dynamic IP and need to transform it, at that point compose…

Code:

ipconfig/discharge (this will discharge your IP)

ipconfig/reestablish (this will recharge your iP)

7) netstat : This summon will indicate you association details

Code:

netstat

or on the other hand

Code:

netstat - a (this will demonstrate to all of you the listening ports and association with DNS names)

netstat - n (this will demonstrate to all of you the open association with IP addresses)

netstat - a (this will joined both of the above)

net view x.x.x.x or computername (will list the accessible sharing envelopes on the objective box)

Here are some extra CMD summons which will encourage you.

Code:

net utilize \ipaddressipc$ ""/user:administrator

(this order will enable you to associate with the objective as director)

Presently in the event that you need to associate with the objective and peruse the whole C drive, at that point utilize this summon:

Code:

net utilize K: \computernameC$

(this will make a virtual drive on your "my PC" organizer)

It would be ideal if you not that this summon will just work if the objective PC/PC has not set an Adminastrator Password.

Furthermore, slightest however not last, the "help" charge.

Statement:

whatevercommand/help

or on the other hand

Statement:

whatevercommand/?

This charge is exceptionally helpful in finding what a specific summon does, particularly on the off chance that you are a novice.

Expectation you enjoyed the CMD summons recorded previously. In the event that you have discovered any charge other than those recorded above, mercifully note them in the remarks for our different perusers.

Post a Comment

0 Comments