Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
j-isreal authored Sep 10, 2024
1 parent 98783e0 commit 97d1a6c
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,20 @@
# 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.

0 comments on commit 97d1a6c

Please sign in to comment.