Created
August 4, 2019 06:02
-
-
Save caramelchocolate/14744c30bf4fbc27fb5366429c30357a to your computer and use it in GitHub Desktop.
display /etc/resolv.conf in jails
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
#!/bin/sh | |
find ./jail/base*/ -name 'resolv.conf' | xargs -L1 -I@ sh -c 'f="@";echo ">>>${f}";cat ${f}; echo "<<<${f}";echo;' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment