Skip to content

Latest commit

 

History

History
23 lines (16 loc) · 558 Bytes

README.md

File metadata and controls

23 lines (16 loc) · 558 Bytes

bash-get-ip-hostname

Gets external IP address or hostname

Add execute permission and run

On Linux, add execute permission:

chmod +x get-ip.sh

Then, run script:

./get-ip.sh

Change logfile path and rotate logs

Remember to update the log file path (or comment out), and rotate the log as data is appended to the file.

View on website

Visit my website at www.jinet.us for more info.

Copyright © 2024 Jacob Eiler, Isreal Consulting, LLC. All rights reserved.