Grab the gateway of ppp0 Posted on March 3, 2023 by alfred OLDGW=`route -n | grep "ppp0" | awk -F: '{print $1}' | grep "UH" | awk '{print $1}'`