ShadowArch/Shared/whatismyip

5 lines
101 B
Bash
Executable File

#!/bin/bash
/usr/bin/lynx --dump whatismyipaddress.com | grep '/ip/' | head -n 1 | cut -f 5 -d '/'