Linux常用命令

查看端口占用: lsof -i:7890

解除端口占用:lsof -i:7890 | awk 'NR>1 {print $2}' | xargs kill -9

你可能感兴趣的:(linux,运维,服务器)