Ubuntu 服务器常用命令手册

用于记录部署服务器中的常用命令。

1. 查询运行中的进程

ps -ef | grep {进程名}

2. 查询端口占用

netstat -anp | grep {端口号}
📥 导出 Markdown