From 2e905d88a6671fafa06f3e58cb380be7999c2163 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cyryl=20P=C5=82otnicki?= Date: Sun, 18 Sep 2016 14:50:04 +0200 Subject: [PATCH] showdns tool added --- tools/showdns | 3 +++ 1 file changed, 3 insertions(+) create mode 100755 tools/showdns diff --git a/tools/showdns b/tools/showdns new file mode 100755 index 00000000..ab50592d --- /dev/null +++ b/tools/showdns @@ -0,0 +1,3 @@ +#!/bin//sh +nmcli device show | grep DNS | cut -d']' -f2 | tr -d ' ' | cut -c2- +