QuestionQ43

VerifiedCustomer Service Management System Setup and Configuration

Which of the following Linux commands can a non-root user use to return the process ID that is listening on port 8080?

Explanation

netstat -anp displays numeric socket information together with the associated process/program details, and grep :8080 filters that output to port 8080. Running it through sudo gives a non-root user the privileges needed to view PID information for processes they may not own.

Community Discussion

No comments yet. Be the first to start the discussion!