nestat -lntu
list open TCP & UDP ports
cat /dev/null > ~/.bash_history && history -cw && exit
completely erase command history and exit current shell (logout)
who && ps -dN | grep pts/ and kill -9 [pid]
see logged in sessions, find their root process ids, and kill them to force a logout
sudo iptables -L -n --line
see banned addresses with fail2ban + iptables
pu -u [username]
see services owned by a given user
sudo dpkg --list | grep [package]
Look for an installed package