Understanding Cisco Cybersecurity Fundamentals (SECFND, legacy) — Question 7
What Linux command allows a user to view the IP route table?
Answer options
- A. ed@ned:~$ show IP route
- B. ed@ned:~$ route IP
- C. ed@ned:~$ netstat -rn
- D. ed@ned:~$ sudo route add default gw 192.168.7.1
Correct answer: A, D
Explanation
The correct command to view the IP route table is typically 'netstat -rn', which displays the routing tables. The options 'show IP route' and 'route IP' are not valid Linux commands for this purpose. Option D is used to add a default gateway, not to view the routing table.