Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Linux Command #39

Open
sfsoul opened this issue Dec 10, 2019 · 0 comments
Open

Linux Command #39

sfsoul opened this issue Dec 10, 2019 · 0 comments
Labels

Comments

@sfsoul
Copy link
Owner

sfsoul commented Dec 10, 2019

pwd

pwd 命令用于打印当前工作目录。它会将当前工作目录的完整系统路径打印到标准输出。默认情况下,pwd 命令会忽略符号链接。

查看某一个端口被哪个进程占用

lsof -i:端口号

lsof 命令即 ls open files

netstat -tunpl | grep 端口号

参考文章

@sfsoul sfsoul added the linux label Dec 21, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant