getip

obtain Internal/External IP
git clone git://mahdi.pw/getip.git
Log | Files | Refs | README | LICENSE

README (1026B)


      1 getip
      2 -----
      3 Get Private/Public IP/IP's Geolocation.
      4 
      5 Installation
      6 ------------
      7 You can install getip with ArchLinux User Repository.
      8 
      9 With AUR Helper:
     10     yay -S getip
     11 
     12 Without Helpers:
     13     git clone https://aur.archlinux.org/getip.git
     14     cd getip
     15     makepkg -si
     16 
     17 Manual Installation
     18 -------------------
     19     git clone https://github.com/MahdyMirzade/getip.git
     20     cp getip/getip /usr/bin
     21     getip v
     22 > You may need to run some of these commands with root permissions. (doas)
     23 
     24 Demo
     25 ----
     26 https://asciinema.org/a/427949
     27 
     28 Methods
     29 -------
     30 | Method            | Description                                   |
     31 | ----------------- | --------------------------------------------- |
     32 | help (h)          | Show getip's help manual                      |
     33 | version (v)       | Show getip's version number                   |
     34 | public (pub)      | Show your public IP address                   |
     35 | private (priv)    | Show your private IP address                  |
     36 | json (j)          | Show you public IP's full information in Json |