The correct command for displaying IP configuration details, including the subnet mask and default gateway, is 'ipconfig'. This command provides essential network information for troubleshooting and configuration.
The other options, while related to networking, do not provide the specific details required for this task. For instance, 'ping' tests connectivity to another device but doesn't display IP settings, and 'netstat' shows active connections, which is unrelated to retrieving IP configuration.
Ask Bash
Bash is our AI bot, trained to help you pass your exam. AI Generated Content may display inaccurate information, always double-check anything important.
What does the command 'ipconfig' show?
Open an interactive chat with Bash
What are subnet masks, and why are they important?
Open an interactive chat with Bash
How can I use the information from 'ipconfig' for troubleshooting?