Susa iikopi eziphindiweyo kwifayile

Ndenza isichazi-magama samagama okugqitha asetyenziswa kakhulu, athandwayo okanye aqhelekileyo asetyenziswa ngabasebenzisi (โ€ฆ Sukubuza ukuba kutheniโ€ฆ HAHAHA), ngenxa yoku ndithatha isicatshulwa kwezinye izichazi-magama njl. njl.

Oko kukuthi, umzekelo ... sinefayile elandelayo: dlulisa.txt

Umxholo wayo:

Asdasd
Lola
uthando
Asdasd
windows
admin
linux
Asdasd
uthando

 Njengoko sibona, siphindaphinde ยซuthando"Y"Asdasdยซ, Amaxesha amathathu okugqibela. Uyisusa njani imigca ephindiweyo?

Ukwenza kulula, ngalo myalelo:

cat pass.txt | sort | uniq > pass-listos.txt

Oku kuyakuvelisa ifayile ebizwa kudlula-ukulungele.txt eya kuba ne:

admin
Asdasd
linux
Lola
uthando
windows

Into eyenziwa ngumyalelo ilula KAKHULU ...

  1. ikati idlula.txt - ยปDwelisa umxholo wefayile.
  2. uhlobo - ยปHlela umxholo ngokomxholo.
  3. yodwa - ยปSusa imigca ephindiweyo.
  4. > ukudlula-ukulungele.txt - ยปIziphumo zemiyalelo yangaphambili, yibeke kwifayile-ulungele ukulungiswa.txt (leyo, njengoko ingekhoyo, iyakuyenza)

Yinto elula leyo ... Ndifumene nje ukuba umyalelo uhlobo ewe kulungile kakhulu ... kodwa, kunye yodwa, ziyigugu lobugcisa ๐Ÿ˜€

Ndiyathemba ukuba ube luncedo.

Phendula nge quote

Iphephadonga: Ukuba ufuna ukukhuphela iphepha lodonga ยซNdiyamthanda #! / Bin / bashยปNalu ikhonkco:

Khuphela iphepha lodonga

Shiya uluvo lwakho

Idilesi yakho ye email aziyi kupapashwa. ezidingekayo ziphawulwe *

*

*

  1. Uxanduva lwedatha: UMiguel รngel Gatรณn
  2. Injongo yedatha: Ulawulo lwe-SPAM, ulawulo lwezimvo.
  3. Umthetho: Imvume yakho
  4. Unxibelelwano lwedatha: Idatha ayizukuhanjiswa kubantu besithathu ngaphandle koxanduva lomthetho.
  5. Ukugcinwa kweenkcukacha
  6. Amalungelo: Ngalo naliphi na ixesha unganciphisa, uphinde uphinde ucime ulwazi lwakho.

      Carlos sitsho

    Unokusebenzisa uhlobo -u.

    Ndiyakuvuyela kwiblogi, ndiyayithanda!

         I-KZKG ^ iGaara sitsho

      Yhe Kulungile.
      Akukho nto, enkosi kakhulu ngokuphawula ๐Ÿ˜€

      Wamkelekile ๐Ÿ˜‰
      Phendula nge quote

      Diego sitsho

    Ingxaki yile yokuba iyatshintsha ngokulandelelana kwamagama, iyasebenza ... kodwa ekugqibeleni iziphumo zahluke kakhulu kwezasekuqaleni kulandelelwano (ekunokwenzeka ukuba kwimeko ethile lubalulekile)

         I-KZKG ^ iGaara sitsho

      Ewe, oku kuyalela amagama ngokwe-alfabhethi, ke ukuba umxholo ubufuneka NGAPHANDLE kokwahluka, esi sisombululo asisiyeyona ilungileyo.

         Carlos sitsho

      Sukujikeleza, kuthekani ukuba awubeki myalelo wohlobo? ndicela ucinge kancinci kwaye ungabinayo yonke into ehlafunwayo.

      Ukupasa ikati.txt | uniq> ukudlula-ukulungele.txt

           UEliuber sitsho

        ayisebenzi, ndizamile

           Bob sitsho

        ayisebenzi kuba imigca "ephindiweyo" kufuneka iqhubeke

      ayichazwanga sitsho

    I gracias

    iluncedo kakhulu

      Umngcipheko sitsho

    Kulunge kakhulu! Isisombululo esilula nesicacileyo. Ndiyazithanda izinto ezinjeya ๐Ÿ™‚
    Ndimele ndivume ukuba bendiya kwenza into kwiPython kodwa esi sisombululo silungile.

         I-KZKG ^ iGaara sitsho

      Gracias ..

      muno sitsho

    Molo! kulunge kakhulu!
    Ndinombuzo nceda
    ingandisebenzela lo mzekelo ulandelayo:
    IABCD 1111
    I-DEFG 2222 45455
    IABCD 1111
    ULAWULO 2222

    Imiqolo iyafana kodwa inezithuba kunye noonobumba abambalwa ... ngaba oku kuyakhangela kwigama elinye? okanye ngomgca? Ndiyacacisa?
    ukusukela ngoku, ndiyabulela kakhulu.
    Ikhefu

         I-KZKG ^ iGaara sitsho

      Sawubona, unjani?
      Njengoko bendibonile, oku kuthelekisa imigca hayi iikholamu, ke kumzekelo ondinike wona ungasusa nokuba ngowoku-1 umgca okanye owesithathu, owesibini nowesine, nangona ziphantse zafana, azifani nge-3% kuba ikholamu yomahluko. ๐Ÿ˜‰

      Enkosi ngezimvo ^ - ^

           TINE sitsho

        Enkosi kuwe!! ngaphambi kokuba kuthathe iyure ye-oracle ukuphelisa iikopi ...

      MegaBedder sitsho

    Ndiyifuna kwi-PHP: S

         I-KZKG ^ iGaara sitsho

      Uff ... Ndiyi-PHP, ndimfutshane kakhulu, andinguye umdwelisi nkqubo

      Ndiyaxolisa

         ngococci sitsho

      Kwi php kukho array_unique (โ€ฆ) kumaxwebhu asemthethweni PHP uya kufumana imisebenzi emininzi ebalulekileyo nefanelekileyo.

      Ngokumalunga nohlobo, ngaphandle kokuba uyayidinga, akuyomfuneko ... Ixesha lokuphumeza kunye nenkumbulo zichithwe. (kwinto eyenziwayo kwisithuba)

      Nibuliso!

      geek sitsho

    Wowu !! Isichazi-magama esinokusetyenziswa njengamandla angenabuntu! XD

      Gustavo sitsho

    Kulunge kakhulu ukudityaniswa kohlobo kunye ne-uniq! Indincede kakhulu ukususa imigca ephindiweyo.

    Gracias

      Gustavo sitsho

    Amagqabantshintshi kaCarlos, nangona wayenekratshi, akavumelekile. Uthi ukusebenzisa:

    Ukupasa ikati.txt | uniq> ukudlula-ukulungele.txt

    nangona kunjalo into efunekayo kwi-uniq kukuba ifayile iyalelwe. Kuya kufuneka ukuba ucinge ngayo kancinci okanye ubuze ngaphambili.

      UEliuber sitsho

    Kulunge kakhulu, undigcinele ixesha elininzi usebenzisa i-bash yam

      Amatye eFlintstones sitsho

    awk '! array_temp [$ 0] ++' pass.txt> kudlula-ukulungele.txt
    Ngale migca iyasuswa ngaphandle koku-odola.

      Mininiyo sitsho

    Enkosi kakhulu ngegalelo!

    Nangona kunokuba kuhle ukuba sikwazi ukuyenza yodwa ngaphandle kokutshintsha iodolo, kodwa ke, ngumyalelo olula noluncedo!

      UFelipe Gutierrez sitsho

    Enkosi, indincede kakhulu ๐Ÿ˜‰

      ernesto sitsho

    Ndinayo le
    C000006158880201502051056088364 C00-06158880
    C000007601673201503051056088364 C00-07601673
    C000008659304201504051056088364 C00-08659304
    Inombolo yefowuni: 0809074070562015120818144287185REAร‘O RUBIร‘OS EMILIA DORIS
    Inombolo yefowuni: 0809092979972016010818144287185REAร‘O RUBIร‘OS EMILIA DORIS
    C000005398451201501231044214375 C00-05398451
    C000007674996201503051000000286 C00-07674996
    C000008514288201504051000000463 C00-08514288
    C000011613498201506051056088070 C00-11613498

    Ndiyifumana njani ukuba ipeyinte kuphela iikopi eziphindiweyo ngomrhumo ngamnye kwifayile kwaye ndishiye ezo zingaphindwanga kwenye?

    Umbhalisi ukwisikhundla se-23 (iindawo ezili-10)

      UFernando sitsho

    uhlobo -u -k 1,1 Ifayile.txt> iziphumo.txt

    Olu hlobo lwefayile yintsimi yokuqala

      Ndingu diego sitsho

    2020 kwaye ndisasebenza, enkosi kakhulu!

      sarah sitsho

    Bแบกn co thแปƒ hฦฐแป›ng dแบซn cรกch loแบกi bแป cรกc dรฒng trรนng lแบทp cแปงa nhiแปu ifayile yokubhaliweyo trong Linux okanye Windows ฤ‘ฦฐแปฃc khรดng? Cลฉng nhฦฐ trฦฐแปng hแปฃp cแปงa bแบกn, khi tรดi tแบกo file tแปซ ฤ‘iแปƒn vรฌ tรดi chia nแป™i dung ra nรชn Cรณ khรก nhiแปu file vร  chแบฏc chแบฏn con nhiแปu dรฒng trรนng lแบทp giแปฏa Cรกc ifayile. Vรญ dแปฅ: File 1 cแปงa tรดi co 5 dรฒng, file 2 co 15 dรฒng (co 2 dรฒng trรนng lแบทp vแป›i File 1. Tรดi muแป‘n co kแบฟt quแบฃ, File 1 vแบซn giแปฏ nguyรชn 5 dรฒng, File 2 thรฌ only bแป 2 dรฒng giแป‘ng file 1 .
    Nhฦฐ bแบกn biแบฟt co nhiแปu li do chรบng ta ko thแปƒ gแป™p cรกc fayile txt ฤ‘รณ lแบกi vแป›i nhau, vรฌ nhแปฏng umbhalo wefayile tแปซ ฤ‘iแปƒn rแบฅt ฦฐ lร  nhiแปu kรฝ, chแบณng hแบกn nhฦฐ Rockyou. Thแปฑc tแบฟi muแป‘n thแปฑc hiแป‡n ฤ‘iแปu nร y bรชn Windows hฦกn, vร  chแบฏc chแบฏn ko thแปƒ gแป™p chรบng แปŸ bรชn Windows ฤ‘ฦฐแปฃc. ๐Ÿ™‚ Hy vแปng nhแบญn ฤ‘ฦฐแปฃc phแบฃn hแป“i tแปซ bแบกn!