Created
July 26, 2021 15:01
-
-
Save ecormaksin/d0126e07ea471fae1a72922a3b62d756 to your computer and use it in GitHub Desktop.
export IPv4 nameserver
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| export DISPLAY="`grep -E \"nameserver ([0-9]{1,3}\.){3}[0-9]{1,3}\" /etc/resolv.conf | sed 's/nameserver //'`:0" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment