Yadda ake damfara fayiloli ta amfani da tashar Linux

Kamfanin Linux

A cikin labarin na gaba zan nuna muku babban umarnin Linux para damfara da decompress fayiloli a cikin tsare-tsaren da aka fi amfani da su.

Tabbas wani mai amfani ko mai bin shafin, yana tunanin cewa amfani da tashar da ke da shirye-shirye ko hanyoyin yin shi ta hanyar zane ko taimaka, babban ci baya ne, amma kamar yadda Ilimi baya faruwa, kuma ina so in san abin da nake yi kuma in duba hanyoyi daban-daban na yin abubuwa, a nan ne manyan umarni don damfara da decompress fayiloli a Linux tushen a Debian.

Gz fayiloli

Don damfara fayil a cikin tsarin gz za mu yi amfani da umarni mai zuwa:

  • zuci -9 fayil

Ina fayil shine sunan fayil don damfara

Don kwance shi za mu yi amfani da wannan:

  • gzip -d fayil.gz

Bz2 fayiloli

Wannan ƙarin ƙarfin yana iya damfara / ɓata fayilolin mutum, don haka kar a gwada shi da manyan fayiloli.

Don damfara za mu yi amfani da:

  • fayil din bzip

Don cirewa:

  • bzip2 -d fayil.bz2

Tar.gz fayiloli

Don damfara fayil ko shugabanci zuwa wannan tsawo zamuyi amfani da layi mai zuwa:

  • tar -czfv fayilolin archive.tar.gz

Don cirewa:

  • tar -xzvf fayil.tar.gz

Don duba abubuwan cikin fayil a cikin tsarin tar.gz:

  • tar -tzf fayil.tar.gz
Kamfanin Linux

Tar.bz2 fayiloli

Don matsawa zuwa wannan tsarin za mu yi amfani da:

  • fayilolin tar -c | bzip2> file.tar.bz2

Don cirewa:

  • bzip2 -dc file.tar.bz2 | kwalta -xv
Don duba abubuwan:
  • bzip2 -dc file.tar.bz2 | tar -t


Zip fayiloli

Wannan ɗayan ingantattun tsare-tsaren da ake amfani dasu, don damfara fayil zuwa wannan ƙarin daga tashar da zamu yi amfani da layin umarni masu zuwa:

  • zip fayiloli.zip
Don cirewa:
  •  kasa kwancewa fayil.zip
Don duba abubuwan:
  • kasa kwancewa -v fayil.zip

Rar fayiloli

Wannan shine mafi daidaitaccen kuma yayi amfani da sauran tsari ko tsawo, don damfara fayil ko shugabanci zuwa wannan tsarin da zamuyi amfani dashi:

  • rar -a fayiloli.rar fayiloli
Don cirewa:
  • rar -x fayil.rar
Don duba abubuwan:
  • rar -l file.rar

Yamma:

  • rar -v fayil.rar

Kamar yadda kake gani, ba abu ne mai wahala a yi amfani da tashar don yin wasu abubuwa lokaci-lokaci ba, don haka yayin da muke koyo, muna sanya matsalar launin toka cikin tsari.

Informationarin bayani - Wasu gajerun hanyoyin gajerun hanyoyin maɓalli don Ubuntu


Bar tsokaci

Your email address ba za a buga. Bukata filayen suna alama da *

*

*

  1. Wanda ke da alhakin bayanan: Miguel Ángel Gatón
  2. Manufar bayanan: Sarrafa SPAM, sarrafa sharhi.
  3. Halacci: Yarda da yarda
  4. Sadarwar bayanan: Ba za a sanar da wasu bayanan ga wasu kamfanoni ba sai ta hanyar wajibcin doka.
  5. Ajiye bayanai: Bayanin yanar gizo wanda Occentus Networks (EU) suka dauki nauyi
  6. Hakkoki: A kowane lokaci zaka iyakance, dawo da share bayanan ka.

      Shaah m

    Labari mai kyau na gode Ina son tashar

      AyosinhoPA m

    Labari mai ban sha'awa. A koyaushe ina mamakin yadda aka buɗe wasu fakiti. Godiya da fatan alheri.

      Alex m

    hola

    Umurnin damfara a tar gz tar -czvf (ba tar -czfv) in ba haka ba ya kasa.