20.3k views
0 votes
What should you enter at the command prompt to scan for open tcp ports on your linux system?

User Maxmantz
by
8.4k points

1 Answer

2 votes
netstat -ant

I like to add "p" to get the process' name that's listening.
User Michal Ciechan
by
8.3k points