Skip to content

Instantly share code, notes, and snippets.

@jmorenoamor
Created August 20, 2014 07:31
Show Gist options
  • Save jmorenoamor/e9808869a5d55374b687 to your computer and use it in GitHub Desktop.
Save jmorenoamor/e9808869a5d55374b687 to your computer and use it in GitHub Desktop.
Cygwing scripts
# Find which process is using a port
tasklist | grep $(netstat -noa | grep 30002 | awk '{print $NF}') | awk '{print $2}'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment