dotfiles/tools/showdns

4 lines
80 B
Bash
Executable File

#!/bin//sh
nmcli device show | grep DNS | cut -d']' -f2 | tr -d ' ' | cut -c2-