Command line tools Flashcards
(18 cards)
ipconfig
Displays IP address, subnet mask, and default gateway
ipconfig /all
shows detailed network config including MAC address and DNS info
ipconfig /flushdns
Clears the DNS cache to remove outdated or incorrect entries
ping [hostname/IP]
Tests basic connectivity to another device and measures response time
tracert [hostname/IP]
shows each hop a packet takes to reach its destination
nslookup [hostname]
Queries DNS servers to resolve domain names to IP addresses.
netstat
displays active network connections and listening ports.
arp -a
Displays the ARP table (IP to MAC address mapping on local network)
chkdsk
Checks the hard drive for file system errors and bad sectors.
sfc /scannow
scans system files and replaces corrupted or missing ones.
diskpart
opens the disk partitioning utility for managing volumes and drives.
format
erases and prepares a storage device for use (formats a drive)
dir
lists files and directories in the current folder.
cd
changes the current working directory
copy
copies one or more files to another location
xcopy
copies files and directories, including subdirectories
robocopy
more advanced file copy tool used for copying large sets of files/folders.
net use
maps a network drive or disconnects a network connection