Basic Windows command
Dir
- Directory listing in the directory
mkdir
- make a new directory
rmdir
- remove directory
del
- delete file a specific file
copy
- copy a file from one location to another or make a new copy of the file
xcopy
- copy an entire directory and files
ren
- rename files in the directory
type
- display the content of the text file
tasklist
- view a list of running processes (it provides the current of the process and info on the active application)
taskkill
- terminate a process
ipconfig
- provides details on the network configuration like ip, subnet mask, gateway and mac address
ping
- check network connectivity
nslookup
- get information about the domain names and ipaddress
netstat
- check active network connections
shutdown
- restart or shutdown a system
sfc /scannow
- system file checker (/scannow
option will scan for corrupted file and fixes them)
chkdsk C:
- check and repair disk error on the C drive
systeminfo
- gather detailed information about the system
taskschd
- schedule tasks and automate processes and applications
gpupdate
- force group policy update
net user
- manage user accounts
net localgroup
- control user groups
assoc
- associate file types with specific programs
attrib
- change attributes of the file (attrib +h test.txt - make the test.txt file hidden)
format
- formats a disk
tree /fe
- list the directory structure in tree format (/fe
- includes the files)