What is the command to see on which port which
service is running? and What is the difference between /etc/services file and net stat command?
Submitted by: Administratori)which port which service is running
netstat -tulpn
lists all the processes running,the service name with the upd or tcp port, and the socket information
ii)/etc/services is the general port numbers and the serices that are associated with the ports where are netstat shows the running serviced,ports,the application name associated and the socket info too.
Submitted by: Administrator
netstat -tulpn
lists all the processes running,the service name with the upd or tcp port, and the socket information
ii)/etc/services is the general port numbers and the serices that are associated with the ports where are netstat shows the running serviced,ports,the application name associated and the socket info too.
Submitted by: Administrator
Read Online Linux General Job Interview Questions And Answers
Top Linux General Questions
☺ | What is the difference between samba and ftp server in Linux? |
☺ | What is the use of nis server in Linux? |
☺ | What is the detail boot process in Linux? Start form Pc on? |
☺ | What is the main difference between Yum & rpm? |
☺ | How to find out shared file&dir of FTP? |
Top Linux OS Categories
☺ | Device Drivers Interview Questions. |
☺ | Linux OS Management Interview Questions. |
☺ | Linux Makefile Interview Questions. |
☺ | Linux Environment Interview Questions. |
☺ | Linux OS Shell Interview Questions. |