Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/j-isreal/bash-get-ip-hostname
Gets external IP address or hostname
https://github.com/j-isreal/bash-get-ip-hostname
Last synced: 15 days ago
JSON representation
Gets external IP address or hostname
- Host: GitHub
- URL: https://github.com/j-isreal/bash-get-ip-hostname
- Owner: j-isreal
- License: apache-2.0
- Created: 2024-09-10T04:45:04.000Z (4 months ago)
- Default Branch: main
- Last Pushed: 2024-09-10T05:02:05.000Z (4 months ago)
- Last Synced: 2024-11-06T09:14:29.346Z (2 months ago)
- Language: Shell
- Size: 13.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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](https://www.jinet.us/dev/scripts/bash-get-your-ip-address/) for more info.
Copyright © 2024 Jacob Eiler, Isreal Consulting, LLC. All rights reserved.