network prioritization ubuntu code example
Example: how to change priority in network interface ubuntu
sudo ifmetric wlan0 50
# ifmetric <network interface> <desired metric>
# the interface with the lowest metric is used for internet connection.
sudo ifmetric wlan0 50
# ifmetric <network interface> <desired metric>
# the interface with the lowest metric is used for internet connection.