Kia mohio ki to IP a-iwi mai i te taunga

He iti noa te pehea-Me pehea te mohio, te titiro ranei ki to IP a-iwi mai i Linux, me te kore e whakamahi i te kaitirotiro hei toro atu ki nga whaarangi angamaheni kei reira.
I tenei wa, ka whakamahi ahau i te Archlinux, engari he tika mo etahi atu putanga o Linux hoki.

1 - Tuatahi ka tirohia kei a maatau te "kopiri" penei:

pacman -Ss kopikopiko

2 - Mena kaore i a maatau, ka whakauruhia e maatau:

pacman -S kopikopiko

I te keehi o taku mata, kua oti ke te whakauru, ka hoatu e koe te Y ka whakauru. 😀

3 - Na, ka whakahaerehia e maatau ma te kaiwhakamahi noa, te pakiaka ranei e whai ake nei:

curl ifconfig.me

4 - Ko tena kuware i kite koe?

Ana ko te tumanako ka awhina i te hunga pākiki e mangere ana ki te whakatuwhera i te tirotiro kia kite i a raatau ip.

Awhiawhi Whāinga


Ko nga korero o te tuhinga e piri ana ki o maatau kaupapa o matatika whakatika. Ki te ripoata i tetahi paatene paato Here.

9 korero, waiho maau

Waiho to korero

Ka kore e whakaputaina tō wāhitau īmēra.

*

*

  1. He kawenga mo nga raraunga: Miguel Ángel Gatón
  2. Te kaupapa o te raraunga: Whakahaerehia te SPAM, te whakahaere korero.
  3. Ture: To whakaae
  4. Whakawhitinga korero: Kaore nga korero e tukuna ki nga taha tuatoru engari ma te ture herenga.
  5. Rokiroki raraunga: Paetukutuku e whakahaerehia ana e Occentus Networks (EU)
  6. Tika: I nga wa katoa ka taea e koe te whakaiti, te whakaora me te muku i o korero.

  1.   tika ka mea

    Ka taea hoki e tenei whakahau te mahi:

    wget -qO- icanhazip.com

    Kia Ora.-

    1.    tio ka mea

      Aue te pai! whakawhetai!

  2.   Whakamatau ka mea

    Kia ora, ka whakamahia e au tenei whakahau: keria + myip.opendns.com poto @ resolver1.opendns.com
    me te kore e whakauru i tetahi mea.

    Mauruuru!

  3.   kore ingoa ka mea

    keri + poto myip.opendns.com @ resolver1.opendns.com

    Kia mahara kaore au e tūtohu kia whai i te tikanga kopikopiko / wget na te mea he take haumaru.

    pūtake:
    http://www.cyberciti. biz / FAQ / pehea-ki-te-rapu-i-taku-whanui-ip-wahitau-mai-whakahau-raina-i-a-linux

  4.   kore ingoa ka mea

    pacman -Ss kia mohio mena kua whakauruhia he putea?
    .......
    i roto i te take:
    pacman -Q | pōkai grep

    he mea nui noa atu i te ao (kaore katoa he kopere)
    ko te mokomoko &> / dev / null && echo kua "whakauruhia" || oro "kahore"

  5.   Eduardo ka mea

    Kua whakamahia e ahau wget -qO- ifconfig.me/ip (he kohinga nui o. Ehara i te kore)
    me te kore e whakauru i tetahi mea, ko te mea nui rawa atu ki te kaitautoko me te taatai

  6.   Alex ka mea

    Ki taku whakaaro he pai ake, he tere tonu ake:
    curl ipinfo.io/ip

  7.   Enrique ka mea

    Nga mihi nui ki a koutou mo nga korero! tino whaihua, ina koa kaore o taiao whakairoiro i runga i te kaitoha 😉
    Mauruuru!