how to check which service is running on port in ubuntu code example Example: ubuntu check process on port sudo lsof -i:22