Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/sh
- IP=$(curl https://api.ipify.org?format=json | grep -o '"ip":"[^"]*' | grep -o '[^"]*$')
- echo
- echo $IP
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement