Friday, October 19, 2012

Which Process Running on What Port

http://www.debian-administration.org/articles/184



To see all the ports open for listening upon the current host you can use another command netstat (contained in the net-tools package):
root@mystery:~# netstat -a |grep LISTEN |grep -v unix



Which process is bound to port 80

lsof -i :80

Friday, October 12, 2012

Installed Packages and Locations?


What is installed ?
       $ dpkg --get-selections
       or
       $ dpkg --list  
       or
       $ dpkg --list | grep -i 'gradle'

Location installed ?
       $ dpkg -L gradle

To Remove ?
       $ sudo apt-get --purge remove lighttpd