ubuntu how to know which application using port code example Example: see what is using a port ubuntu $ sudo lsof -i:22