farnodes / sysadmin

0 stars 0 forks source link

netstat -tunlp #14

Open rsingh0706 opened 1 month ago

rsingh0706 commented 1 month ago

Debian/Ubuntu:

bash Copy code sudo apt update sudo apt install net-tools For Red Hat/CentOS/Fedora:

bash Copy code sudo yum install net-tools or

bash Copy code sudo dnf install net-tools After installation, you can use netstat -tunlp to list network connections. If you're using a more modern tool, you might want to use ss:

bash Copy code ss -tunlp