dotfiles/tools/showdns

4 lines
80 B
Text
Raw Normal View History

2016-09-18 13:50:04 +01:00
#!/bin//sh
nmcli device show | grep DNS | cut -d']' -f2 | tr -d ' ' | cut -c2-