ss 取代 ifconfig

main
AhFei 2023-01-13 03:02:27 +08:00
parent adbaa2dd42
commit e625fc7334
1 changed files with 1 additions and 1 deletions

View File

@ -56,6 +56,6 @@ echo "now geekbench5!"
./geekbench5 > result_geekbench5.txt ./geekbench5 > result_geekbench5.txt
docker run -d -e MODE=standalone -p 88:80 -it adolfintel/speedtest docker run -d -e MODE=standalone -p 88:80 -it adolfintel/speedtest
echo "`ifconfig eth0 | head -n2 | grep inet | awk '{print$2}'`:88" >> result_geekbench5.txt echo "`ip a | head -n13 | grep /24 | awk '{print$2}' | sed 's/\/24//g'`:88" >> result_geekbench5.txt
echo "step 4: test has finished" echo "step 4: test has finished"