Skip to content

常用命令 ​

lsof ​

shell
# 查看80端口使用情况
sudo lsof -i:80

whereis ​

sh
# nginx的安装位置
whereis nginx