]> Sergey Matveev's repositories - nnn.git/commitdiff
ipinfo shows external IP address
authorArun Prakash Jana <engineerarun@gmail.com>
Fri, 24 May 2019 17:44:19 +0000 (23:14 +0530)
committerArun Prakash Jana <engineerarun@gmail.com>
Fri, 24 May 2019 17:44:19 +0000 (23:14 +0530)
plugins/README.md
plugins/ipinfo

index 5bd213a3ba450e2f0e39b7f6b09216759ea759d2..bcaedf6c0e63f816af0b35cd1b95a9c2b0243908 100644 (file)
@@ -7,7 +7,7 @@
 | hexview | sh | xxd, `$PAGER` | View a file in hex |
 | imgresize | sh | [imgp](https://github.com/jarun/imgp) | Resize images in directory to screen resolution |
 | imgur | bash | - | Upload an image to imgur (from [imgur-screenshot](https://github.com/jomo/imgur-screenshot)) |
-| ipinfo | sh | curl, whois | Fetch IP address and whois information |
+| ipinfo | sh | curl, whois | Fetch external IP address and whois information |
 | kdeconnect | sh | kdeconnect-cli | Send selected files to an Android device |
 | ndiff | sh | vimdiff | Show diff for selection |
 | nmount | sh | pmount | Toggle mount status of a device as normal user |
index b743df891db2fe8adaa49a4796b5e4898de77c5f..70b800762787c985ff9cb164f3e3e0c7681dbc3c 100755 (executable)
@@ -1,6 +1,6 @@
 #!/usr/bin/env sh
 
-# Description: Shows the IP address and whois information. Useful over VPNs.
+# Description: Shows the external IP address and whois information. Useful over VPNs.
 #
 # Shell: POSIX compliant
 # Author: Arun Prakash Jana
@@ -8,6 +8,6 @@
 IP=`curl -s ifconfig.me`
 
 whois "$IP"
-echo your IP address is "$IP"
+echo your external IP address is "$IP"
 
 read dummy