Network command on Ubuntu

to add new gateway

route add default gw 192.168.0.1

to see the network adapter information

nmcli dev show eth0

to restart network

./init.d/networking restart

to see dns stauts

systemd-resolve --status

About albertsk

Professor at the University of Hawaii
This entry was posted in Uncategorized. Bookmark the permalink.