Command Line Flashcards
Display the current TCP/IP configuration of a Windows machine
ipconfig
Display the current TCP/IP configuration of a Linux machine
ifconfig
Test network reachability
ping
Determine the route a packet takes to a destination (Windows)
tracert
Determine the route a packet takes to a destination (Linux and Mac OS X)
traceroute
Network statistics
netstat
Show all active connections (Windows)
netstat -a
Show binaries
netstat -b
Do not resolve names (just IP addresses)
netstat -n
Windows utility for querying NetBIOS over TCP/IP information
nbtstat
List local NetBIOS names
nbtstat -n
List remote NetBIOS names, referred by IP
nbtstat -A
List remote NetBIOS names, referred by name
nbtstat -a
Windows network commands
net
Stop a service
net stop
Start a service
net start
Map a network share to a drive letter
net use
View network resources
net view
Manage Active Directory database from the command line
netdom
Look up information from DNS servers; names and IP addresses
nslookup
Check names on NetBIOS local cache
nbtstat -c