Windows Commands Flashcards
cd\
Takes you to the top of the tree
cd [folder][subfolder]
takes you to the subfolder
cd..
Takes you one folder up
dir
Views file contents
md or mkdir
Makes a new directory (folder)
rd or rmdir
Removes a directory (folder)
ipconfig
Displays TCP/IP network configuration values
ipconfig /all
Shows information on the DNS and DHCP servers
ipconfig /release
releases the assigned IP
ipconfig /renew
requests a new IP Address
ipconfig /flushdns
removes cached DNS records
ipconfig /displaydns
shows the content of the DNS cache
ping
view connectivity, reachability, and name; used to troubleshoot connectivity issues
hostname
obtains the DNS (Domain Name System) name; can set the system’s hostname or NIS (Network Information System) domain name
netstat
monitors connections; used to troubleshoot configuration issues
nslookup
uses interactive or noninteractive mode to query internet domain name servers
chkdsk
searches for UNUSABLE sectors of the storage device Will repair or recover data if necessary.
net user
views, adds, removes, and changes the user accounts on the computer
net use
connects and disconnects from a network resource; views the current connections to network resources
tracert
A common scenario for using tracert is when there is a slow remote connection and you would like to find out which part of the path is problematic
format
creates a root directory and file system on the disk
copy
moves files only
xcopy
multiple files or entire directories
robocopy
copies files, directories and drives across network