Created
May 2, 2016 19:24
-
-
Save enriched/812ff0e83b9b2283aa6758eeaa48fec9 to your computer and use it in GitHub Desktop.
ngrep local loopback port .bash_profile function
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
ngreplocalport(){ | |
sudo ngrep -q -W byline -d lo0 '' "port $1"; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment