Command-Line Flashcards
Use + Tools
dir
Used to display a list of the files and folder/subdirectories within a directory
cd
Change a directory
md
make a directory
rm
remove a directory
ipconfig
displays IP address, subnet mask, default gateway, and DNS suffix
ipconfig /all
Lists adapters and each one’s IP address, subnet mask, default gateway, DNS suffix, DNS servers, DHCP server, and MAC address
ipconfig /release
Releases IP addresses
ipconfig /renew
Renews IP addresses
ipconfig /displaydns
View local DNS cache
ipconfig /flushdns
Clear local DNS cache
ICMP (Internet Control Message Protocol)
Packets which allow the ping command to verify network connectivity
ping
Verify network connectivity
tracert
Verify the path a network packet travels to its destination
pathping
Diagnose packet loss (or suspected packet loss) to a destination website.
netstat
View listening and established network connections for the OS
netstat /b
Displays the name of the application and its current established connections
nslookup
Verify that DNS is working and returning the correct results.
-Returns IP address associated with domain name
-returns A or CNAME DNS records
hostname
Returns hostname of the computer that the command prompt is running on
gpupdate
Update Group Policy settings
gpupdate /force /target:user
Force Active Directory to update Group Policies for a targeted user
gpresult
Displays Resultant Set of Policy (RSoP) report/values for a remote user/computer.
-shows which configuration settings take precedence over others