linux 查询系统版本命令、查询端口号是否被占用命令 查询系统版本:lsb_release -a 查询端口号是否被占用命令:netstat -an |grep 端口号 查看端口号被哪个应用程序占用:lsof -i :端口号