• Displays and modifies the entries in the local IP routing table. If used without parameters, route displays help at the command prompt.
  • route command in Linux is used to modify or work with IP/kernel routing table. Its primary use is to set up static routes to specific hosts or networks.
  • Route is an external command that is available for the following Microsoft operating systems as route.exe.
  • route [-nqv] [COMMAND] [[MODIFIERS] args]. Parameters[edit]. -n: Bypasses translating IP addresses to symbolic host names. -q: Suppresses all output.
  • The ‘routecommand in Linux is used to manipulate the IP routing table. It allows you to view, add, and delete entries in the routing table.
  • This guide will walk you through the basics to advanced usage of the route command in Linux, helping you navigate the complex highways of data routing.
  • Use the -p option with the print command to view the list of registered persistent routes. The command option specifies one of the six commands in this table
  • The route command resolves all symbolic names into addresses, using either the /etc/hosts file or the network name server.
  • The command is also used to manipulate the routing table, enabling the administrator to configure desired routes. Examples include the following.
  • Yes, the `route` command allows you to filter the output. For example, you can use `route -n` to display numerical IP addresses instead of hostnames.