CMD 1.2 Flashcards
lesson 2
help
can type help or /?
dir
lists files and subdirectories from either the working drive and directory or from a specified path
cd
used to change directory
copy
is used to copy files from one folder to another
xcopy
it can copy folders, subfolders, and all the files with them
syntax: xcopy Source [Destination] [Switches]
robocopy
more advanced than xcopy
md or mkdir
used to create a directory
rd or rmdir
used to delete an empty directory
diskpart
used to configure disk partitions
format
writes a new file system to a drive
chkdsk
scans the files system and/or disk sectors for faults and can attempt to repair any problems detected..hopes to recover corrupted files
shutdown
/s=shutdown
/h=hibernate
/l=log off
/r=restart
sfc
used to repair system files. provides a manual interface for verifying system files and restoring them
Gpupdate
updates the latest group policy setting
Gpresult
shows what group policy is applied to the computer
net use
used to connect to a network share
netstat
displays active network connections
tracert
uses ICMP to return a hop count
net user
used to manage user accounts
pathping
performs a ping and a traceroute at the same time
nslookup
identifies the current DNS server and displays IP addresses for a provided name
hostname
displays a computers hostname
ping
uses ICMP to return the status of a unicast
-n= change the number of pings sent
-l= change the size of the ping packets
-t= ping continuously
-4= force an IPv4 ping
-6= force an IPV6 ping
ipconfig
displays interface configurations
/all=displays more detailed information
/release=removes configuations obtained through DHCP
/renew=request configuration from a DHCP server
/displaydns=displays local dns cache
/flushdns=clears local dns cache