How do I find out what network services are running or listing under Linux?
Q. How do I find out what network service are running under Linux operating system?
A. For security reason it is necessary to find out what services are running. With the help of netstat command, you can print information about the Linux networking subsystem including running services. It can display program name and PID for each socket belongs to. Use netstat as follows:
$ netstat -atup
OR
$ netstat -atup | grep LISTEN
Where,
- -t : Select all TCP services
- -u : Select all UDP services
- -a : Display all listening and non-listening sockets.
- -p : Display the PID and name of the program to which each socket belongs
Subscribe to our free e-mail newsletter or RSS feed to get all updates.
You can Email this page to a friend.
Related Other Helpful FAQs:
- Redhat network interface configuration
- Linux: Find out which network card or NIC server is bind or running on
- Linux / UNIX Find Out What Program / Service is Listening on a Specific TCP Port
- chkconfig on FreeBSD to start services automatically initial boot time
- FreeBSD Disable /etc/rc.d Services Which Started Up At Initial Boot Time
Leave a Reply
We encourage your comments, and suggestions. But please stay on topic, be polite, and avoid spam. Thank you very much for stopping by our site!
Tags: display open port, Linux, linux networking subsystem, list open port, netstat command, operating system, pid, security reason, service list, sockets, tcp services, udp services



Recent Comments
Today ~ 1 Comment
Today ~ 2 Comments
Yesterday ~ 9 Comments
Yesterday ~ 32 Comments
07/04/2008 07:04 pm (2 days ago) ~ 1 Comment