how to check which process opens port in linux code example Example: ubuntu check process on port sudo lsof -i:22