#!/bin/bashread -p "输入你要kill的端口号 " afor i in `lsof -i:$a | awk '{print $2}' | grep -v 'PID'`;do kill -9 $i;done