netstat -ltunp | grep 80 | grep LISTEN | grep java | awk ‘{print $4}‘ |awk -F: ‘{if ($NF>8000 && $NF<8100) print $NF}‘
8001
8002
8018
8019
时间: 2024-10-13 23:33:47
netstat -ltunp | grep 80 | grep LISTEN | grep java | awk ‘{print $4}‘ |awk -F: ‘{if ($NF>8000 && $NF<8100) print $NF}‘
8001
8002
8018
8019