I've already read the link here. I tried this from the accepted answernmcli device status
but I get this resultsudo: nmcli: command not found
.Then I read this link. I tried thissystemd-resolve --status | grep 'DNS Servers'
but I get this resultsudo: systemd-resolve: command not found
.
Does anyone know a command that will work on 22.04?