标签: route

使用Linux Route路由表来取得公网网卡

route -n | awk ‘$1 == “0.0.0.0” {print $8}’