2020年3月25日 星期三

Identify network setting effective now.

Source: https://askubuntu.com/questions/152593/command-line-to-list-dns-servers-used-by-my-system

Ubuntu >= 15
nmcli device show  | grep IP4.DNS
Ubuntu <= 14
nmcli dev list iface  | grep IP4

沒有留言: