nerdexam
Linux_Foundation

LFCS · Question #69

Which of the following commands can be used to display the local routing table? (Choose TWO correct answers.)

The correct answer is C. netstat D. route. The netstat and route commands are standard utilities used to display the local routing table on Linux systems.

Submitted by ngozi_ng· Apr 18, 2026Networking

Question

Which of the following commands can be used to display the local routing table? (Choose TWO correct answers.)

Options

  • Aifconfig
  • Bdig
  • Cnetstat
  • Droute
  • Etrackroute

How the community answered

(25 responses)
  • A
    4% (1)
  • B
    4% (1)
  • C
    88% (22)
  • E
    4% (1)

Why each option

The `netstat` and `route` commands are standard utilities used to display the local routing table on Linux systems.

Aifconfig

`ifconfig` displays network interface configuration and statistics, not the routing table.

Bdig

`dig` is a DNS lookup utility and is not used for displaying routing tables.

CnetstatCorrect

`netstat -r` or `netstat -rn` can display the kernel routing table, showing active routes to destinations. D. The `route` command itself, or `route -n`, is specifically designed to show and manipulate the IP routing table, making it a direct tool for this purpose.

DrouteCorrect
Etrackroute

`trackroute` is not a standard command for displaying the local routing table; `traceroute` displays the path to a remote host.

Concept tested: Linux routing table commands

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

Topics

#routing table#networking commands#netstat#route command

Community Discussion

No community discussion yet for this question.

Full LFCS Practice