Skip to content

j-isreal/bash-get-ip-hostname

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Gets external IP address or hostname

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages