LX0-104 · Question #554
Which of the following commands can be used to activate a specific network interface?
The correct answer is C. ifup. The ifup command is used in Linux to activate a specified network interface, bringing it online and configuring it according to system settings.
Question
Options
- Aipup
- Bnet
- Cifup
- Dnetup
How the community answered
(29 responses)- A3% (1)
- C90% (26)
- D7% (2)
Why each option
The `ifup` command is used in Linux to activate a specified network interface, bringing it online and configuring it according to system settings.
`ipup` is not a standard Linux command for activating network interfaces.
`net` is a general command with various subcommands, but `net` alone or `net up` is not the standard way to activate an interface.
The `ifup` command is part of the `net-tools` or `ifupdown` package in Linux systems and is specifically designed to bring a network interface up. It reads the configuration for the specified interface from files like `/etc/network/interfaces` and applies the settings, including IP addresses, netmasks, and routes.
`netup` is not a recognized or standard command for bringing up network interfaces in Linux.
Concept tested: Linux network interface activation
Source: https://manpages.debian.org/testing/ifupdown/ifup.8.en.html
Topics
Community Discussion
No community discussion yet for this question.