Page 1 of 1

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

Posted: Tue Feb 28, 2023 1:02 pm
by answerhappygod
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