nerdexam
Linux_Foundation

LFCS · Question #260

Which of the following commands is used to deactivate a network interface?

The correct answer is A. ifdown. This question seeks the command-line utility used to disable or deactivate a network interface on a Linux system.

Submitted by rachelw· Apr 18, 2026Networking

Question

Which of the following commands is used to deactivate a network interface?

Options

  • Aifdown
  • Bipdown
  • Cnet
  • Dnetdown

How the community answered

(36 responses)
  • A
    94% (34)
  • B
    3% (1)
  • D
    3% (1)

Why each option

This question seeks the command-line utility used to disable or deactivate a network interface on a Linux system.

AifdownCorrect

The `ifdown` command is a standard utility on Linux systems, typically used within network configuration scripts, to deactivate a specified network interface. It handles the process of bringing down the interface, releasing its IP address, and stopping associated network services.

Bipdown

`ipdown` is not a standard or recognized command for deactivating network interfaces in Linux; the correct utilities are `ifdown` or `ip link set dev <interface> down`.

Cnet

`net` is a general command with various network-related subcommands but does not directly deactivate an interface by itself.

Dnetdown

`netdown` is not a standard command used in Linux to deactivate a network interface.

Concept tested: Deactivating network interfaces

Source: https://man7.org/linux/man-pages/man8/ifdown.8.html

Topics

#Network Interface Management#Networking Commands#ifdown

Community Discussion

No community discussion yet for this question.

Full LFCS Practice