Created
February 26, 2019 09:32
-
-
Save kgantsov/56fee564cc9cadb5fef976bc096ad36c 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
# Usage: whoseport 8888 | |
whoseport () { | |
lsof -i ":$1" | grep --color=auto --exclude-dir={.bzr,CVS,.git,.hg,.svn} LISTEN | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment