phow to know port details on ubuntu code example Example: see what is using a port ubuntu $ sudo lsof -i:22