Showing posts with label cmd tutorials. Show all posts
Showing posts with label cmd tutorials. Show all posts
How to find ip address using cmd?

How to find ip address using cmd?

Most of use don't know how to use command prompt this is one of the trick how to find ip address using cmd and there are many more



You can find your IP address from the Control Panel, but this takes quite a few clicks. The ipconfig command is a fast way of determining your computer’s IP address and other information, such as the address of its default gateway — useful if you want to know the IP address of your router’s web interface.


To use the command, just type ipconfig into a Command Prompt window. You’ll see a list of all the network connections your computer is using. Look under Wireless LAN adapter if you’re connected to Wi-Fi or Ethernet adapter Local Area Connection if you’re connected to a wired network.

1. Open the command prompt. Press ⊞ Win+R and type cmd into the field. Press ↵ Enter to open the Command Prompt.
In Windows 8, you can press ⊞ Win+X and select the Command Prompt from the menu.
 
2.Run the "ipconfig" tool. Type ipconfig and press ↵ Enter. This will display a list of your network connection information. All of the network connections on your computer will be displayed.  
 
3.Find your IP Address. Your active connection may be labeled Wireless Network Connection, Ethernet adapter, or Local Area Connection. It may also be labeled by the manufacturer of your network adapter. Find your active connection and look for IPv4 Address.
  • The IP address is four sets of digits, with up to three digits per set. For example, it might look like 192.168.1.4
  • The ipconfig printout is long, so you may have to scroll up to find the IPv4 address.
 


ipconfig-command[4]
How to shut down or restart another computer using cmd?

How to shut down or restart another computer using cmd?

Shut Down or Restart Another Computer

Screenshot of the Remote Shutdown Dialog in Windows
System administrators in a business environment do this all the time for lots of reasons, but you can also shut down or restart another computer on your network, all from your computer's Command Prompt.
The easiest way to shut down a computer remotely is to execute shutdown /i from the Command Prompt which will open the Remote Shutdown Dialog, shown here.
Just enter the name of the remote computer (which you can get by running the hostname command on the other PC), choose what you want to do (restart or shutdown), select some other options and then click OK.
So whether you're brushing up on your command skills or just scaring a family member, this Command Prompt trick is a fun one.
You can also shut down or restart another computer strictly from the Command Prompt with the shutdown command, without using the Remote Shutdown Dialog
Command Prompt with Function Keys

Command Prompt with Function Keys

 Command Prompt with Function Keys


Illustration of an F7 key on a keyboard














The fact that the function keys actually do something in the Command Prompt is maybe one of the best kept secrets about the tool
F1: Pastes the last executed command (character by character)
F2: Pastes the last executed command (up to the entered character)
F3: Pastes the last executed command
F4: Deletes current prompt text up to the entered character
F5: Pastes recently executed commands (does not cycle)
F6: Pastes ^Z to the prompt
F7: Displays a selectable list of previously executed commands
F8: Pastes recently executed commands (cycles)
F9: Asks for the number of the command from the F7 list to paste
Another Command Prompt trick coming up soon is full of arrow key shortcuts, a few of which are similar to these function key tricks.

How to create a wifi Hotspot in Your Laptop/Pc using Cmd

How to create a wifi Hotspot in Your Laptop/Pc using Cmd

1.Start the cmd promt
press Win + R , and in the dialog box type "cmd"

2.Type the following code to start your Hosted network
netsh wlan set hostednetwork mode=allow ssid=wifiname key=password