Yuav ua li cas kom tsis qhib pob cov ntaub ntawv ZIP hauv Linux

Pin
Send
Share
Send

Nws qee zaum yooj yim dua los khaws cov program, phau ntawv teev npe thiab cov ntaub ntawv nyob rau hauv daim ntawv ntawm ib qho chaw khaws cia, vim lawv coj thaj chaw tsawg dua ntawm lub khoos phis tawm, thiab tseem tuaj yeem txav mus los ntawm cov xov xwm tshem tawm mus rau lub khoos phis tawj sib txawv. Ib qho ntawm cov ntawv teev npe nrov tshaj plaws tau suav tias yog ZIP. Niaj hnub no peb xav tham txog yuav ua haujlwm nrog cov hom ntaub ntawv no li cas nyob rau hauv kev ua haujlwm raws li Linux kernel, vim hais tias rau qhov tsis tuaj yeem lossis saib cov ntsiab lus koj yuav tau siv cov kev siv nyiaj ntxiv.

Unpack ZIP archives hauv Linux

Tom ntej no, peb yuav kov ob qhov nrov nrov siv hluav taws xob uas tau tswj hwm los ntawm lub console, uas yog, tus neeg siv yuav tsum tau nkag rau hauv kev tsim thiab ntxiv cov lus txib los tswj txhua cov ntaub ntawv thiab cov cuab yeej. Ib qho piv txwv hnub no yog lub Ubuntu kev faib khoom, thiab rau cov tswv ntawm lwm lub rooj sib txoos peb yuav tsom rau txhua qhov tsis sib xws.

Kuv xav sau tseg cia yog tias koj xav paub ntxiv los txhim kho cov program los ntawm lub archive, thawj zaug saib seb nws yog nyob rau hauv cov chaw cia khoom lossis hauv pob khoom txawv rau koj kev faib khoom, vim tias nws yooj yim dua rau kev nqa tawm xws li kev teeb tsa.

Nyeem kuj: Nruab RPM pob / DEB pob hauv Ubuntu

Txoj Kev 1: Unzip

Txawm hais tias Ubuntu Unzip yog lub chaw tsim hluav taws xob uas tso cai rau koj los tswj cov ntaub ntawv teev cov hom peb xav tau, txawm li cas los xij, lwm cov Linux tsim tseem yuav tsis muaj qhov txiaj ntsig zoo, yog li cia pib los txhim kho nws, thiab tom qab ntawd peb mam li txheeb xyuas qhov cuam tshuam.

  1. Txhawm rau pib, khiav "Chaw Nres Tsheb" txhua txoj hauv kev yooj yim, piv txwv li, los ntawm ntawv qhia zaub mov.
  2. Sau cov lus txib ntawm nosudo apt nruab unziprau kev faib tawm ntawm Ubuntu lossis Debian, lossissudo yum nruab unzip ziprau cov ntawv uas siv Red Hat format pob. Tom qab qhia tag, nyem rau Sau.
  3. Ntaus ib lo lus zais nkag mus qhib lub hauv paus, vim tias peb siv qhov hais kom ua sudolos ntawm ua raws txhua cov kauj ruam li superuser.
  4. Tam sim no nws tseem nyob tos kom txog thaum txhua cov ntaub ntawv txuas ntxiv rau qhov kev khiav hauj lwm. Yog tias koj muaj Unzip ntawm koj lub computer, koj yuav tau txais ib qho kev ceeb toom.
  5. Tom ntej no, koj yuav tsum nrhiav qhov chaw nyob hauv cov ntawv xav tau, yog tias koj tseem tsis tau ua ua ntej. Txhawm rau ua qhov no, qhib cov khoom ntim cia, nyem RMB rau nws thiab xaiv "Khoom".
  6. Nco ntsoov txoj hauv kev ntawm niam txiv ntawv tais ceev tseg, nws yuav tuaj txog thaum lub sijhawm ua tsis tiav.
  7. Rov mus "Chaw Nres Tsheb" thiab taug kev mus rau niam txiv daim nplaub tshev nrogcd / tsev / neeg siv / nplaub tshevqhov twg neeg siv - Lub npe username, thiab ntawv tais ceev tseg - lub npe ntawm cov nplaub tshev uas cov archive khaws cia.
  8. Txhawm rau pib txheej txheem txheej txheem, tsuas yog sauunzip sisqhov twg ntawv tais ceev tseg - lub npe ntawm cov archive, .zauv nws tsis tsim nyog ntxiv, cov nqi hluav taws xob yuav txiav txim siab hom.
  9. Tos rau txoj kab tshiab nkag mus. Yog tias tsis muaj qhov yuam kev tawm los, tom qab ntawd txhua yam mus zoo thiab koj tuaj yeem mus rau niam txiv daim nplaub tshev ntawm cov archive thiaj nrhiav tau cov ntawv twb tsis tiav lawm nyob rau ntawd.
  10. Yog tias koj xav muab cov ntawv rho tawm hauv lwm lub nplaub tshev, koj yuav tsum siv kev sib cav ntxiv. Tam sim no koj yuav tsum rau npeunzip folder.zip -d / txoj kevqhov twg / txoj kev - lub npe ntawm cov nplaub tshev uas cov ntaub ntawv yuav tsum tau txais kev cawmdim.
  11. Tos kom txog thaum txhua yam khoom tiav.
  12. Koj tuaj yeem saib cov ntsiab lus ntawm cov khaw nrog cov lus txibunzip -l folder.zipthaum nyob hauv niam txiv nplaub tshev. Koj tam sim ntawd yuav pom tag nrho cov ntaub ntawv pom.

Raws li rau qhov kev sib cav ntxiv siv hauv Unzip nqi hluav taws xob, ntawm no yog qee qhov tseem ceeb tshaj:

  • -u- Hloov kho cov ntaub ntawv uas twb muaj lawm hauv cov ntawv sau cia;
  • -v- kev qhia tag nrho cov ntaub ntawv muaj txog ntawm tus kwv;
  • -P- kev teeb tsa tus password kom tau txais kev tso cai kom tsis sau cov archive (yog tias muaj encryption);
  • -n- Tsis txhob thim cov ntaub ntawv uas twb muaj lawm hauv qhov chaw tshaj tawm;
  • -j- tsis saib xyuas qhov qauv qauv.

Raws li koj tuaj yeem pom, tsis muaj dab tsi nyuaj rau kev tswj hwm kev siv hluav taws xob hu ua Unzip, tab sis nws tsis haum rau txhua tus neeg siv, yog li peb xav kom koj paub koj tus kheej nrog cov txheej txheem thib ob, qhov kev daws teeb meem ntau yuav siv.

Txoj Kev 2: 7z

Ntau yam kev siv hluav taws xob 7z rau kev ua haujlwm nrog cov ntawv pov thawj yog tsim tsis tsuas yog cuam tshuam nrog tib hom ntaub ntawv, tab sis kuj txhawb nqa lwm hom ntawv nrov, suav nrog ZIP. Kuj tseem muaj qhov ua tau ntawm cov cuab yeej no rau Linux operating systems, yog li peb xav kom koj paub koj tus kheej nrog nws.

  1. Qhib lub console thiab rub tawm qhov tseeb version 7z los ntawm cov chaw sau se los ntawm kev nkag mus rau cov lus txibsudo apt nruab p7zip-puv, thiab Red Hat thiab CentOS cov tswv yuav tau qhiasudo yum nruab p7zip.
  2. Tshaj tawm qhov sib ntxiv ntawm cov ntaub ntawv tshiab rau hauv lub system los ntawm kev xaiv qhov lees xaiv.
  3. Txav mus rau hauv daim nplaub tshev uas cov chaw khaws cia khaws cia, zoo li tau qhia hauv cov qauv dhau los siv cov lus txibcdCov. Ntawm no, saib cov ntsiab lus ntawm lub khoom ua ntej yuav ua rau tsis ua haujlwm, sau ntawv hauv lub console7z l folder.zipqhov twg folder.zip - lub npe ntawm cov xav tau archive.
  4. Cov txheej txheem ntawm kev nthuav tawm rau daim nplaub tshev tam sim no yog nqa los ntawm7z x folder.zip.
  5. Yog tias cov ntaub ntawv nrog tib lub npe muaj nyob rau ntawd, lawv yuav raug muab los hloov lossis hla. Xaiv cov kev xaiv raws li koj tus kheej nyiam.

Xws li Unzip, 7z muaj ntau qhov kev sib cav ntxiv, peb kuj xav kom koj paub koj tus kheej nrog cov tseem ceeb:

  • e- extract ntaub ntawv nrog txoj kev (thaum sivxtxoj kev tseem nyob li qub);
  • t- kuaj xyuas cov ntawv pov tseg rau kev ncaj ncees;
  • -p- kev qhia txog lo lus zais ntawm daim ntawv khaws cia;
  • -x + ua ntaub ntawv thov- tsis txhob muab cov khoom cais tawm rau;
  • -y- Cov lus teb zoo rau tag nrho cov lus nug thaum rub tawm.

Koj tau txais cov lus qhia txog kev siv ob qho kev siv hluav taws xob zoo rau kev tshem tawm ZIP hauv Linux. Ua zoo saib tshwj xeeb rau kev sib ceg ntxiv thiab tsis txhob hnov ​​qab thov lawv yog tias tsim nyog.

Pin
Send
Share
Send