ShadowArch/Shared/whatismyip

3 lines
145 B
Plaintext
Raw Normal View History

2016-11-09 22:25:00 -06:00
#!/bin/bash
2017-07-27 15:30:48 -05:00
/usr/bin/lynx -connect_timeout=5 -read_timeout=5 -timeout=5 --dump whatismyipaddress.com | grep '/ip/' | head -n 1 | cut -f 5 -d '/'