Linux interview questions Part 1
Q 1. Tell me the ways to see the process that listens a specific TCP port ? Ans. We can use lsof & netstat to listens a specific TCP port. lsof : list open files including ports. netstat : The netstat command symbolically displays the contents of various network-related data and information. Q 2. What is a run level ? Ans. A run level is a state of init and the whole system that defines what system services are operating. Run levels are identified by numbers. Some system administrators use run levels to define which subsystems are working, e.g., whether X is running, whether the[…]
Read more