ubuntu see what is using what port code example Example: see what is using a port ubuntu $ sudo lsof -i:22