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