Skip to content

Instantly share code, notes, and snippets.

:octocat:
BUIDLing

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
marcosvidolin / kill_port_process.sh
Created Nov 3, 2014
Linux: How to list and kill a process using a port
View kill_port_process.sh
# 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 0.0.0.0:27370 0.0.0.0:* LISTEN 4394/skype
tcp 0 0 127.0.1.1:53 0.0.0.0:* LISTEN 2216/dnsmasq
tcp 0 0 127.0.0.1:631 0.0.0.0:* LISTEN 4912/cupsd
You can’t perform that action at this time.