ubuntu show process running on port code example Example 1: ubuntu check process on port sudo lsof -i:22 Example 2: how to find process running on port in ubuntu sudo lsof -i:8080