check process on port ubuntu 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
Example 3: linux see used ports
netstat -tulpn
sudo lsof -i:22
sudo lsof -i:8080
netstat -tulpn