Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- # Show Your Public IP Saved To Home Filename
- #+ < ** ip ** >
- # Define Command
- read my_ip < <(curl -s ipinfo.io/ip)
- # Execute
- printf '\033[033mPublic IP: \033[m'
- echo $my_ip
- # Done
- exit 0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement