Skip to content

Instantly share code, notes, and snippets.

@FGRibreau
Last active December 21, 2015 17:18
Show Gist options
  • Save FGRibreau/6339255 to your computer and use it in GitHub Desktop.
Save FGRibreau/6339255 to your computer and use it in GitHub Desktop.
$ netgrep 8080 $ netgrep redis
# by https://twitter.com/consoleguru/status/371876352523517952
# tested on Debian, does not work on MacOS
alias netgrep='sudo netstat --inet -W -l -p --numeric-ports|grep $*'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment