Difficulty: Easy
Correct Answer: route
Explanation:
Introduction / Context:
Routing determines where IP packets are forwarded. On classic Linux systems, administrators use user-space tools to interact with the kernel's routing table. Although modern distributions prefer the ip command from iproute2, many legacy systems and exam questions reference the older route tool.
Given Data / Assumptions:
Concept / Approach:
The route command (now largely superseded by ip route) can add, delete, and display routes in the kernel routing table. Tools like netstat display network statistics and routes but are not typically used to add new routes. Nonstandard names like addroute or net do not represent the canonical Linux tools for this task.
Step-by-Step Solution:
Identify legacy command used to modify routes: route.Exclude report-only tools such as netstat.Exclude nonexistent or platform-specific aliases (addroute, net).Select route as the correct answer.
Verification / Alternative check:
Modern equivalent is ip route add or ip route show. Testing with either tool verifies route manipulation concepts are consistent.
Why Other Options Are Wrong:
addroute: not a standard Linux command.netstat: reports statistics and can display routes but does not add them.net: ambiguous/nonstandard in Linux for routing tasks.
Common Pitfalls:
Final Answer:
route
Discussion & Comments