-
@ryanlanciaux @jcreamer898 @elijahmanor @benmvp @sindresorhus I have a hard time remembering the lsof command, so I added functions to my shell startup script to find or kill a port.
function findport() { lsof -t -i :$1 } function killport() { kill $(lsof -t -i :$1) }
github.com/pepopowitz/dotfiles/blob/master/functions.zsh#L18