Titsegula makina osungira a TAR.GZ pa Linux

Pin
Send
Share
Send

Mtundu wofananira wa mitundu ya mafayilo mu Linux ndi TAR.GZ, malo osungidwa nthawi zonse omwe amakakamizidwa kugwiritsa ntchito Gzip. M'malo oterowo, mapulogalamu osiyanasiyana ndi mindandanda ya zikwatu ndi zinthu nthawi zambiri zimagawidwa, zomwe zimapereka mwayi pakati pa zida. Kutula fayilo yamtunduwu ndikosavuta, chifukwa muyenera kugwiritsa ntchito zofunikira zonse "Pokwelera". Izi ziyanenedwa m'nkhani yathu lero.

Tulutsani zolemba zakale za TAR.GZ pa Linux

Palibe chomwe chimakhala chovuta kwambiri pakufutukula nokha, wogwiritsa ntchito amangofunika kudziwa lamulo limodzi ndi mfundo zingapo zomwe zimagwirizanitsidwa ndi izi. Kukhazikitsa kwa zida zowonjezera sikofunikira. Ntchito yogwirira ntchitoyi ndi chimodzimodzi m'magawo onse, koma tinatenga buku la Ubuntu monga chitsanzo ndipo tikupangira kuti pang'onopang'ono muthane ndi funso lokhala ndi chidwi.

  1. Choyamba muyenera kudziwa malo osungidwa omwe mukufuna, kuti m'tsogolo pitani ku foda ya makolo kudzera pa console ndipo pamenepo mutha kuchita zina zonse. Chifukwa chake, tsegulani woyang'anira fayilo, pezani zakale, dinani pomwepo ndikusankha "Katundu".
  2. Iwindo lidzatsegulidwa pomwe mungathe kudziwa zambiri zakusungidwa. Apa mu gawo "Zoyambira" tcherani khutu "Kholo la makolo". Kumbukirani njira yomwe ilipo ndikutseka molimba mtima "Katundu".
  3. Thamanga "Pokwelera" njira iliyonse yabwino, mwachitsanzo, kukhala ndi kiyi yotentha Ctrl + Alt + T kapena kugwiritsa ntchito chithunzi chofananira menyu.
  4. Mukatsegula chopukutira, pitani ku foda ya makolo potumiza lamulocd / nyumba / wosuta / chikwatupati wosuta - lolowera, ndipo foda - dzina la chikwatu. Muyeneranso kudziwa kuti gulucdingoyeserani kusamukira kumalo enaake. Kumbukirani izi kuti mupititse patsogolo kulumikizana kwa mzere pa Linux.
  5. Ngati mukufuna kuwona zomwe zili pazakale, muyenera kulowa mzeretar -ztvf Archive.tar.gzpati Archive.tar.gz - dzina la nkhokwe..tar.gzndikofunikira kuwonjezera. Mukamaliza kulowa, dinani Lowani.
  6. Yembekezerani kuwonetsa zonse zomwe zikuwonetsedwa pazenera, kenako ndikupukutira pa gudumu la mbewa mutha kuwona zonse.
  7. Kutsitsa kumayambira pamalo omwe muli, mwa kutchulapo lamulotar -xvzf Archive.tar.gz.
  8. Kutalika kwa njirayi nthawi zina kumatenga nthawi yayitali, kutengera kuchuluka kwamafayilo mkati osungidwa ndi kukula kwake. Chifukwa chake, dikirani mpaka mzere wolowera watsopano uwonekere mpaka pomwepo sitseka "Pokwelera".
  9. Pambuyo pake, tsegulani woyang'anira fayilo ndikupeza chikwatu chomwe chidapangidwa, chidzakhala ndi dzina lofanana ndi zomwe zasungidwa. Tsopano mutha kukopera, kuwona, kusuntha ndikuchita zina zilizonse.
  10. Komabe, wosuta sikuti nthawi zonse amafunika kutulutsa mafayilo onse kuchokera pazosungira, chifukwa chake ndikofunikira kunena kuti zofunikira zomwe zikufunsidwa zimathandizira kuvumbulutsa chinthu chimodzi. Lamulo la tar limagwiritsidwa ntchito pamenepa.-xzvf Archive.tar.gz file.txtpati file.txt - dzina la fayilo ndi mawonekedwe ake.
  11. Nthawi yomweyo, mlandu wa dzinalo uyenera kukumbukiridwa, yang'anirani mosamala zilembo ndi zilembo zonse. Ngati cholakwa chimodzi chachitika, fayiloyo silingapezeke ndipo mudzalandira chidziwitso cha cholakwika.
  12. Njirayi imagwiranso ntchito kuzilangizo za pawokha. Amakungidwa akugwiritsa ntchitotar -xzvf Archive.tar.gz dbpati db - Dzina lenileni la chikwatu.
  13. Ngati mukufuna kuchotsa chikwatu pazachidziwitso chomwe chimasungidwa pazosungidwa zakale, lamulo logwiritsidwa ntchito ndi motere:tar -xzvf Archive.tar.gz db / fodapati db / foda - njira yofunikira ndi chikwatu chomwe chatchulidwa.
  14. Pambuyo polowetsa malamulo onse, mutha kuwona mndandanda wazomwe zalandilidwa, zimawonetsedwa nthawi zonse m'mizere yoyendera.

Monga mungazindikire, mukayika lamulo lililonsephulatidagwiritsa ntchito zokangana zingapo nthawi imodzi. Muyenera kudziwa tanthauzo la aliyense wa iwo, pokhapokha chifukwa zimathandiza kumvetsetsa bwino za ma algorithm osakanikirana pamachitidwe amtunduwu. Muyenera kukumbukira mfundo zotsatirazi:

  • -x- chotsani mafayilo pazakale;
  • -f- Chizindikiro cha dzina la nkhokwe;
  • -z- kuchita mosadumpha kudzera pa Gzip (muyenera kulowa, popeza pali mitundu ingapo ya TAR, mwachitsanzo, TAR.BZ kapena TAR (yosungidwa popanda kukakamiza));
  • -v- onetsani mndandanda wa mafayilo osinthidwa pazenera;
  • -t- onetsani.

Lero, cholinga chathu chinali chongotulutsira mafayilo omwe amafunsidwa. Tawonetsa momwe zinthuzo zimawonedwera, kutulutsa chinthu chimodzi kapena chikwatu. Ngati mukufuna njira yokhazikitsa mapulogalamu omwe amasungidwa mu TAR.GZ, nkhani yathu ina ikuthandizani, yomwe mungapeze podina ulalo wotsatirawu.

Onaninso: Kukhazikitsa Mafayilo a TAR.GZ pa Ubuntu

Pin
Send
Share
Send