Skip to content

Instantly share code, notes, and snippets.

@Cristuker
Last active September 3, 2021 17:53
Show Gist options
  • Save Cristuker/29b1848f99c1a6fc2ec3a9d2f423ede5 to your computer and use it in GitHub Desktop.
Save Cristuker/29b1848f99c1a6fc2ec3a9d2f423ede5 to your computer and use it in GitHub Desktop.
Linux utils
# Get the process running on port 3333 and kill it! Change 3333 to use on another ports.
kill -9 "$(lsof -w -n -i tcp:3333 | awk 'FNR == 2 {print $2=$2}')"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment