apt-get install lsof netstat -lp netstat -pl | grep ssh lsof -i:22 ss -lp | grep ssh lsof -c ssh lsof -p 14332 lsof /dev/loop0 lsof -U lsof -i lsof -n -i -P lsof -i @another-chris-server.tld lsof -i @another-chris-server.tld::5228-6502 lsof -d 111,34,67 lsof -i -a -u chris lsof /etc/* lsof +D /var/log lsof +d /usr/local lsof -t /var/log/auth.log lsof -i tcp lsof -i udp lsof -u ^daemon lsof -r5 -c avahi-daemon -a -i UDP apt-get install debian-goodies aptitude update aptitude full-upgrade -y checkrestart service ssh restart checkrestart -p