M Markfree Regular Contributor Jan 10, 2021 #1 Hey guys. How could I get the PPP0 ip address? I already tried this: Code: # ip addr show ppp0 | grep peer | awk ' { print $2 } ' And it works. Can't help but wonder if there's another way. Is there a better way? Thanks
Hey guys. How could I get the PPP0 ip address? I already tried this: Code: # ip addr show ppp0 | grep peer | awk ' { print $2 } ' And it works. Can't help but wonder if there's another way. Is there a better way? Thanks