Skip to content

Instantly share code, notes, and snippets.


Tauqeer Hassan hassantauqeer

Block or report user

Report or block hassantauqeer

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
marcosvidolin /
Created Nov 3, 2014
Linux: How to list and kill a process using a port
# to list all ports that are used
sudo netstat -ntlp | grep LISTEN
# you can obtain a specific port using the following command
sudo netstat -ntlp | grep :8080
# when you execute the command above you will see some thing like that
tcp 0 0* LISTEN 4394/skype
tcp 0 0* LISTEN 2216/dnsmasq
tcp 0 0* LISTEN 4912/cupsd
You can’t perform that action at this time.