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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q
  • Used to securely copy files between servers

* Leverages SSH (secure shell) for authentication and encryption

A

SCP

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q
  • Transfers a file from either a client to a server or from a server to a client
  • Uses UDP (User Datagram Protocol) instead of TCP
  • Typically used on reliable (local) networks
A

TFTP

17
Q
  • Displays information about a user or users on a remote system
  • Includes information such as last login time and username
  • Primarily used in Linux
A

FINGER

18
Q
  • Allows a user to manage accounts and devices remotely
  • Can be encrypted to secure data from eavesdropping
  • Can be encrypted, as well
A

TELNET/SSH