Network Command Lines Flashcards
Tracepath
Displays the path taken by a packet from its source to the destination
IPConfig
Provides users with the IP address, subnet mask, and default gateway for each network(can be used to release all connections and renew all adapters
Traceroute/Tracert
Used to trace the route and IP packet takes to a destination.
Displays each hops ip address and the time it takes to receive the packet
Useful for troubleshooting performance and connectivity issues
Ping
Test connectivity to other host
Sends icon echo request to host and listens for reply
Measures latency between two devices
NSLOOKUP
Displays some Domain name system info
Troubleshoots DNS problems
Displays names to IP address mappings
IFCONFIG
Used to configure the kernel network devices
Used by Linux
Netstat
Displays information about active ports
Displays routing info for network adapters
DIG
Used to retrieve the entire DNS response message
Used for lookups and will display answers from the query
Uses OS resolver libraries
Native to Linux
ARP
Displays the IP to physical (MAC) address mappings for host that have been discovered
Used to add, remove or modify entries in the cache
Discovers addresses by broadcasting to the network and noting the reply from the owner
SCP
Used to securely copy files between servers, uses SSH for authentication and encryption.
Route
Used to display current route tables on a host
Can be used to add or remove routes
Used by local host to determine where to send traffic
WHOIS
Used to lookup the owner of a domain or block of ip addresses on the internet
Returns info including name, email and physical address
Primarily Linux
FTP
Copies the file from on host to another host
Data is unencrypted
Transfer uses TCP
Nmap
Scans network to find host and open ports
Helps determine what is deployed on a network
Telnet/SSH
Allows a user to manage accounts and devices remotely
Can be encrypted