Anarchiste, on Aug 14 2007, 11:14 AM, said:
binarysaint, on Mar 23 2007, 10:35 AM, said:
Anarchiste, on Feb 27 2007, 06:20 PM, said:
netstat will just give you the listening ports, not the applications which are using them.
sk@dump ~ $ sudo netstat -lapute
Password:
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address State User Inode PID/Program name
tcp 0 0 localhost:mysql *:* LISTEN mysql 6852 4056/mysqld
tcp 0 0 *:http *:* LISTEN root 7036 4200/apache2
tcp 0 0 *:ftp *:* LISTEN root 7323 4313/pure-ftpd (SERVER)
tcp 0 0 *:ssh *:* LISTEN root 6929 4136/sshd
Oops :lol:
Doh! I was going to say that. Nice one though. :)
along with everything else mentioned, nmap will work also, but my first thought would've been netstat.