Windows Command (CMD)

Note: Open your Command Prompt and type the below commands to see each of them in action.

dir

Lists the contents of a directory.

cd

Changes the current directory.

mkdir

Creates a new directory.

rmdir 

Removes a directory.

copy

Copies files from one location to another.

del

Deletes files.

move

Moves files from one location to another.

ren

Renames a file or directory.

cls

Clears the command prompt window.

echo

Displays messages or turns command echoing on or off.

ipconfig

Displays the IP configuration for all network adapters.

ping

Tests the network connectivity to another host.

netstat

Displays active network connections, ports, and routing tables.

tasklist

Lists all running processes.

taskkill

Terminates a running process.

systeminfo

Displays system information such as OS version, hardware configuration, etc.

format

Formats a disk drive.

chkdsk

Checks a disk for errors and fixes them.

sfc

System File Checker scans and repairs corrupted system files.

diskpart

Manages disk partitions.

shutdown

Shuts down or restarts the computer.

xcopy

Copies files and directories, including subdirectories.

attrib

Displays or changes file attributes.