- Code: Select all
[root@localhost bin]# netstat -putnl
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 0.0.0.0:42795 0.0.0.0:* LISTEN 1696/rpc.statd
tcp 0 0 0.0.0.0:5355 0.0.0.0:* LISTEN 1090/systemd-resolv
tcp 0 0 0.0.0.0:111 0.0.0.0:* LISTEN 1572/rpcbind
tcp 0 0 127.0.0.1:7634 0.0.0.0:* LISTEN 741/hddtemp
tcp 0 0 0.0.0.0:631 0.0.0.0:* LISTEN 1556/cupsd
tcp6 0 0 :::5355 :::* LISTEN 1090/systemd-resolv
tcp6 0 0 :::111 :::* LISTEN 1572/rpcbind
tcp6 0 0 :::631 :::* LISTEN 1556/cupsd
tcp6 0 0 :::59365 :::* LISTEN 1696/rpc.statd
Do I need all these? I only need to browse the internet and print on a usb connected printer using this computer. I think I need cupsd for printer and hddtemp for disk temperature monitoring. What are the others for and can I remove them safely? If so, how can I remove them? Thanks for your help.