This website requires JavaScript.
Explore
Help
Sign In
drpuur
/
proxypi
Watch
1
Star
0
Fork
You've already forked proxypi
0
Code
Issues
Pull Requests
Packages
Projects
Releases
Wiki
Activity
3723913631
proxypi
/
root-bin
/
get_internet_ip
3 lines
83 B
Bash
Executable File
Raw
Blame
History
#!/bin/bash
ip -4 addr show ppp0 2>/dev/null
|
grep -oP
'(?<=inet\s)\d+(\.\d+){3}'
Reference in New Issue
View Git Blame
Copy Permalink