Question 20 (practice exam 8)
Q: Which command is used to display information about the current network interface configuration on macOS and Linux systems? A: ifconfig
Q: On Windows systems, what is the equivalent command to ifconfig for displaying network interface information? A: ipconfig
Q: If you wanted to view the IP address, subnet mask, and MAC address of your wired network connection on a macOS or Linux system, which command would you use? A: ifconfig
Q: What is the purpose of the iwconfig command on Linux systems? A: The iwconfig command is used to configure and display information about wireless network interfaces, while ifconfig is used for wired network interfaces.
Q: Which command would you use on a Linux system to display active network connections, listening ports, and associated processes? A: netstat
Q: How does the functionality of the ifconfig command differ from the netstat command in the context of network configuration and monitoring? A: ifconfig displays information about the network interface configuration, while netstat provides information about active network connections, listening ports, and associated processes.