Gets external IP address or hostname
On Linux, add execute permission:
chmod +x get-ip.sh
Then, run script:
./get-ip.sh
Remember to update the log file path (or comment out), and rotate the log as data is appended to the file.
Visit my website at www.jinet.us for more info.
Copyright © 2024 Jacob Eiler, Isreal Consulting, LLC. All rights reserved.