Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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.