Skip to content

Instantly share code, notes, and snippets.

@rakibhasansabbir
Last active February 16, 2021 07:35
Show Gist options
  • Save rakibhasansabbir/a19d3a71862299c372a7fa79d3cf9e6c to your computer and use it in GitHub Desktop.
Save rakibhasansabbir/a19d3a71862299c372a7fa79d3cf9e6c to your computer and use it in GitHub Desktop.
To check the listening ports and applications on Linux

Run below command to check the listening ports and applications on Linux: sudo lsof -i -P -n | grep LISTEN

Kill running process to flow below command: kill -9 4469 //-- 4469 is the port number

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment