diff --git a/.bashrc b/.bashrc index a6c8cf3..fc72da2 100644 --- a/.bashrc +++ b/.bashrc @@ -244,6 +244,11 @@ sshttps() { sshttp $1 $2 443 } +whichport() { + sudo lsof -i -P | grep LISTEN | grep ":$1" +} + + # ENVIRONMENT NPM_PACKAGES="${HOME}/.npm-packages"