NOTICE: THIS PROJECT HAS MOVED TO CODEBERG
Two simple command line scripts to get your internet facing IPv4 address by asking barnyard animals. Both written in execline
By default, they merely report your IPv4 address.
This can take one of two possible options "-v" or "-a".
-
-v- verbose: reports failures, and animal names. -
-a- all: runs through the entire list (does not stop on success) this also implies-v
Return code is 0 for success, and 1 for failure. With the -a option, the return code is always 1.
This works the same as ipbarn above, but does not support the -a option, and will only succeed when two different animals report the same IP address.