Which of the following commands can be used to display the local routing table? (Choose TWO correct answers.)
Correct Answer: C,D
The commands that can be used to display the local routing table are netstat and route. Both commands can show the kernel routing tables, which contain information about the network destinations and the gateways to reach them. The netstat command can be used with the -r option to display the routing table, and the -n option to show numeric addresses only. The route command can also be used with the -n option to display the routing table without resolving names. However, both netstat and route are considered obsolete and have been replaced by the ip route command, which is the current recommended way of printing the routing table in Linux12. References:
* 1: Understanding Routing Table - nixCraft
* 2: How To Display Routing Table In Linux - RootUsers
* 3: linux networking - What is the local routing table used for? - Server Fault