Skip to content

Monitoring open network connections and listening ports on Debian Lenny

Terminal window
sudo lsof -Pi

If this doesn’t work, you might have to install lsof by running the following command:

Terminal window
sudo apt-get install lsof