LFCS · 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 commonly used in Linux to activate a network interface according to its configuration specified in network configuration files.
Question
Options
- Aipup
- Bnet
- Cifup
- Dnetup
How the community answered
(43 responses)- A2% (1)
- B2% (1)
- C91% (39)
- D5% (2)
Why each option
The `ifup` command is commonly used in Linux to activate a network interface according to its configuration specified in network configuration files.
`ipup` is not a standard command for activating network interfaces; `ip` is used for general IP configuration, but `ipup` itself is not the activation command.
`net` is a generic term for networking and not a specific command to activate an interface.
The `ifup` command brings a network interface up, applying its configured settings from `/etc/network/interfaces` or similar configuration files, effectively activating the interface and making it ready for network communication. Its counterpart, `ifdown`, deactivates the interface.
`netup` is not a standard command for activating network interfaces.
Concept tested: Linux network interface activation
Source: https://man7.org/linux/man-pages/man8/ifup.8.html
Topics
Community Discussion
No community discussion yet for this question.