Tuesday, July 30, 2013

list open ports and unix sockets

To do this I use netstat command

to list all open ports:
$ sudo netstat -tuplen

to list open ports and unix sockets:
$ sudo netstat -nlp

note: using sudo you will get more info

list open ports and unix sockets

To do this I use netstat command to list all open ports: $ sudo netstat -tuplen to list open ports and unix sockets: $ sudo netstat -...