Which one of the following Linux commands can be used by a non root user to return the process ID listening on port 8080?

Which one of the following Linux commands can be used by a non root user to return the process ID listening on port 8080?
A . sudo netstat -an -p TCP | grep :8080
B . sudo netstat -anp | grep :8080
C . netstat -anp | grep :8080
D . netstat -an -pid * | grep :8080

Answer: C

Reference:

https://old.wiki/index.php/ServiceNow_ServiceWatch_Discovery_Credentials_and_Connect ivity

Latest CIS-SM Dumps Valid Version with 60 Q&As

Latest And Valid Q&A | Instant Download | Once Fail, Full Refund

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments