Get the App
SLTechnology News&Howtos  ›  Internet Technology  › 

How to check the path of the program through the port number in CentOS

Shulou Source: shulou.com Published: 2022-06-02 10:20:11 10月03日 Update

This article introduces how to view the path of the program through the port number in CentOS. The content is very detailed. Interested friends can refer to it and hope to be helpful to you.

1. First check out the program PID according to the port

Netstat-ntlp | grep port number

two。 Then find out the path of the program according to PID

Ll / proc/PID | grep cwd is here about how to check the path of the program through the port number in CentOS. I hope the above content can be helpful to you and learn more. If you think the article is good, you can share it for more people to see.

Tags: Program slogan location path content more help good interest boy buddy article knowledge port article reference Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Shulou Tech Info MariaDB OPPO Reno Huawei vpn