Here is how to display the default gateway on Ubuntu from the command line.
Ubuntu 20.04 + (without net tools)
ip route showUbuntu 18.04 – (with net-tools)
routeHere is how to display the default gateway on Ubuntu from the command line.
ip route showroute