Created
December 15, 2015 23:44
-
-
Save kevinquinnyo/6468a679631366fa3125 to your computer and use it in GitHub Desktop.
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
findNode () | |
{ | |
mtr -n --raw --report-cycles 1 "$1" | awk '$1~/^h/ {print $3}' | uniq | sed -e '$!{h;d;}' -e x | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment