nnn/plugins/ipinfo

14 lines
250 B
Plaintext
Raw Permalink Normal View History

#!/usr/bin/env sh
2019-05-24 17:44:19 +00:00
# Description: Shows the external IP address and whois information. Useful over VPNs.
#
# Shell: POSIX compliant
# Author: Arun Prakash Jana
IP=`curl -s ifconfig.me`
whois "$IP"
2019-05-24 17:44:19 +00:00
echo your external IP address is "$IP"
read dummy