Basic Network Commands Flashcards
1
Q
- Displays the path taken by a packet from its source to its destination
- Can be used by any user, regardless of privileges
- Primarily used in Linux
A
TRACEPATH
2
Q
- Provides the user with the IP, subnet mask, and default gateway for each network adapter
- Can be used to release all connections and renew all adapters
- Primarily used in Windows
A
IPCONFIG
3
Q
- Used to trace the route an IP packet takes to a destination
- Displays each hop’s IP address and the time it takes to receive the packet
- Used for Linux and Windows systems
- Useful in troubleshooting performance and connectivity issues
A
TRACEROUTE/TRACERT
4
Q
- One of the most basic tools
- Tests connectivity to other hosts
- Sends an ICMP echo request to a host and listens for the reply
- Useful in troubleshooting connectivity issues
- Measures latency between two devices
A
PING
5
Q
- Displays some DNS information
- Troubleshoots DNS problems
- Useful in displaying names to IP address mappings
- Native to both Windows and Linux
A
NSLOOKUP
6
Q
- Used to configure the kernel network interfaces
- Implemented at the time of botting to configure the necessary interfaces
- Used for debugging or tuning the system
- Primarily used in Linux
A
IFCONFIG
7
Q
- Displays information about active ports
- Useful in troubleshooting and capacity management •Displays routing information for network adapters •Available in Windows, MacOS, and Linux
A
NETSTAT
8
Q
- Used to retrieve the entire DNS response message
- Used for lookups and will display answers from the query
- Uses the OS resolver libraries
- Native to Linux
A
DIG
9
Q
- Displays the IP to physical (MAC) address mappings for hosts 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
A
ARP
10
Q
- Used to securely copy files between servers
* Leverages SSH (secure shell) for authentication and encryption
A
SCP
11
Q
- Used to display the current route tables on a host
- Can be used to add or remove routes
- Used by the local host to determine where to send traffic
A
ROUTE
12
Q
- Most often used to look up who owns a domain or block of IP addresses on the internet
- Returns information including name, email address, and physical address
- Privacy options may hide this information from being returned
- Primarily used in Linux
A
WHOIS
13
Q
- Copies the file from one host to another host
- The data is unencrypted unless a Secure Sockets Layer is used
- Transfer uses TCP (Transmission Control Protocol) used on the internet and other wide-area networks.
A
FTP
14
Q
- Displays packets that are being transmitted over the network system
- Is a form of protocol analyzer
- Shows the contents of network packets in human-readable form
A
TCPDUMP
15
Q
- Scans networks to find hosts and open ports
- Helps determine what is deployed on a network
- Not native to either Linux or Windows but can be used with both
A
NMAP