ubuntu that port is already in use code example Example: ubuntu check process on port sudo lsof -i:22