COMMAND PROMPT



Command:
A instruction given by user to computer to do something.

Command prompt: 
Command line interpreter application.
Acts as an interface for human and machine.

Command line interpreter:
Interpreter means line by line execution.
Allows entering commands and executing those commands.

Need of Command prompts because we have graphical interface:
Easier to manipulate scripts in command prompt which can not be done in graphical interface.
Gives better understanding of what you are doing and what is going on.

How to open command prompt?
Go to menu and search for cmd.

Command for system information:
Displays the detail information for computer and its OS.  
Syntax:
Systeminfo.

Diskpart:
Enables user to create and delete partitions.
Syntax:
Diskpart.

Dir:
Displays list of files and folders.
Syntax:
Dir.
 


















How to move multiple files into directory?
Moves multiple files into a directory.
Syntax:
Move source destination path.








DNS of a computer:
Domain name system.

Converting alphabetical information to IP address.
Without DNS you have to type four series no separated by dots.

Find the IP address and DNS of a computer:Syntax:
Syntax:
ipconfig -all












Finding MAC address of all network devices:
Media access control device.
  
Changing IP address:
Syntax:
Netsh interface  ipv4 set address name="your interface name" static IP_address subnet_mask gateway.


Netsh:
Allows you to either locally  or remotely modify network that is currently running.

Encrypt the data:
Convert into code to prevent unauthorized access.
Syntax:
Cipher /E "folder name".


















Decrypt the data:
Syntax:
Cipher /d "folder name".










Trace route:
Shows the path that traffic takes to reach the website.
Syntax:
Tracert website.
 




 

You Might Also Like