102-500 Exam QuestionsBrowse all questions from this exam

102-500 Exam - Question 53


Which of the following commands can identify the PID od a process which opened a TCP port?

Show Answer
Correct Answer: D

The 'lsof' command is used to list open files in Unix-like operating systems. It can be used to identify the process ID (PID) of a process that has opened a TCP port. By using 'lsof -i :port_number', you can see which process is listening on a specific port.

Discussion

4 comments
Sign in to comment
GuillemOption: D
Apr 29, 2021

lsof is correct

lucaverceOption: D
May 25, 2022

It's D for sure. You can use this command to show all open files from your actual shell lsof -p `echo $$`

LazylinuxOption: D
Apr 27, 2022

is correct

MIU
Nov 28, 2020

PID od?

Kole82
Jan 8, 2021

PID of

NuzzleTCG
Apr 9, 2021

overdose