Nrog cov davhlau ya nyob twg: Cov lus qhia yooj yim hauv GNU / Linux

Muaj qee cov lus txib uas cov neeg siv ntawm GNU / Linux peb yuav tsum paub nws tus mob yog qhov pib heev. Hauv cov ncej no peb yuav tham txog qee qhov ntawm lawv thiab lawv ua haujlwm li cas, txhua yam peb xav tau yog lub davhlau ya nyob twg 😀

Nws tua tus nees luav.

Kuv xav tias lo lus txib tseem ceeb tshaj uas peb yuav tsum paub yog:

$ man

Qhov no yuav yog qhov uas coj peb tawm ntawm peb kev ua xyem xyav thiab teeb meem ntau zaus. Nws siv yog yooj yim, qhov yooj yim syntax yog $ tus txiv neej hais kom ua, Piv txwv:

$ man man
$ man mkdir

Kuv ua haujlwm nrog cov ntawv tais ceev tseg thiab phau ntawv sau npe.

Txhawm rau hloov cov ntawv cim ntawm lub davhlau ya nyob twg peb siv cov lus txib cdCov. Nws txoj haujlwm yog yooj yim hauv lub davhlau ya nyob twg:

$ cd : Peb mus ncaj qha rau peb / tsev khaws ntaub ntawv.
$ cd /home/elav/Documents/PDF/ : Cia peb mus rau hauv daim nplaub tshev PDF hauv / tsev / elav / Cov ntaub ntawv.
$ cd .. : Peb nce ib qib ntxiv. Yog peb tsis pub dhau PDF peb tab tom yuav / tsev / elav / Cov ntaub ntawv.
$ cd ../.. : Peb nce ob theem. Yog peb tsis pub dhau PDF peb tab tom yuav / tsev / elav /.

Yog tias peb xav pom cov nplaub tshev twg peb nyob hauv, peb siv cov lus txib:

$ pwd

Txhawm rau tsim daim nplaub tshev peb siv mkdir hais kom ua:

$ mkdir /home/elav/test : Peb tsim cov ntawv sim sab hauv / tsev / elav.
$ mkdir -p /home/elav/test/test2 : Peb tsim daim nplaub tshev test2sab hauv / tsev / elav / kuaj /Cov. Yog tus nplaub tshev xeem tsis muaj nyob, nws tsim.

Cov ntaub ntawv cov lus qhia.

Muaj ntau cov lus txib los saib cov ntaub ntawv ntawm cov ntawv lossis cov nplaub tshev, thiab qhov chaw lawv nyob. Cov paub zoo tshaj yog ls, uas pab peb sau cov ntsiab lus hauv cov npe.

$ ls : Sau cov ncauj lus ntawm cov ntawv sau tseg
$ ls -l : Sau cov ncauj lus ntawm cov ntawv sau ua ib daim ntawv teev npe, ntxiv rau kev qhia lwm cov ntaub ntawv.
$ ls -la : Sau cov ncauj lus ntawm cov ntawv sau npe, suav nrog cov ntaub ntawv zais (lawv muaj lub sijhawm nyob ntawm lub npe)

Peb twb pom daim disk seem thiab loj me hauv no nkag, yog li kuv tsis tso lawv.

Kuv ua hauj lwm nrog cov ntaub ntawv.

Muaj ntau cov ntaub los txiav ntawm no, tab sis lub sijhawm no kuv yuav tham txog cov lus txib cp (mus theej) mv (los txiav / txav) thiab rm (Tshem tawm / Rho Tawm).

$ cp /home/elav/fichero1 /home/elav/fichero2 : Peb tsim cov ntawv luam ntawm cov file1
$ cp /home/elav/fichero3 /home/elav/fichero2 : Peb luam tawm thiab hloov file3 en file2.
$ cp -R /home/elav /home/elav/bckup : Peb luam tawm txhua cov ntsiab lus ntawm cov npe elav rau / tsev / elav / thaub qabCov. The -R (Recursive) yuav tsum tau siv rau nplaub tshev.

$ cp /home/elav/fichero* /home/elav/bckup : Luam txhua yam npe ntawv, tsis muaj teeb meem dab tsi rov qab los, los sis kawg.

Qee yam zoo sib xws yog cov lus txib mv, tab sis qhov no, tus file1 yuav raug hloov chaw (lossis rov qab tshaj dua) hauv file2.

$ mv /home/elav/fichero1 /home/elav/fichero2

Xws li cov nplaub tshev, nws tsis tas yuav muab cov kev xaiv -R.

$ mv /home/elav/bckup /home/elav/bckup2

Thiab thaum kawg peb muaj qhov lo lus txib kom rho tawm cov ntaub ntawv lossis kev qhia.

$ rm /home/elav/fichero1 : Rho tawm file1.

Thiab nyob rau hauv rooj plaub ntawm folders, yog tias peb yuav tsum siv cov kev xaiv -R.

$ rm -R /home/elav/bckup : Muab daim nplaub tshev rho tawm xyoob ntoo.

Txhawm rau txhim kho cov lus txib no, peb tuaj yeem siv cov kev xaiv muaj -v (verbose) uas yuav qhia peb ntawm lub vijtsam kev ua uas cov lus txib ua thaum lub sijhawm ntawd.

Cov no yog qee cov lus qhia yooj yim heev, tab sis yeej tsim nyog paub. Tom qab ntawv peb mam qhia lwm tus rau koj.


Cov ntsiab lus ntawm tsab xov xwm ua raws li peb cov ntsiab cai ntawm kev tswj hwm kev ncaj nceesCov. Tshaj tawm ib qho yuam kev nyem no.

8 lus, tawm koj li

Tso koj saib

Koj email chaw nyob yuav tsis tsum luam tawm. Yuav tsum tau teb cov cim nrog *

*

*

  1. Lub luag haujlwm rau cov ntaub ntawv: Miguel Ángel Gatón
  2. Lub hom phiaj ntawm cov ntaub ntawv: Tswj SPAM, kev tswj xyuas tawm tswv yim.
  3. Sau raws cai: Koj kev tso cai
  4. Kev sib txuas lus ntawm cov ntaub ntawv: Cov ntaub ntawv yuav tsis raug xa mus rau lwm tus neeg thib peb tsuas yog los ntawm kev txiav txim siab raug cai.
  5. Cov ntaub ntawv khaws cia: Cov Ntaub Ntawv khaws tseg los ntawm Occentus Networks (EU)
  6. Txoj Cai: Txhua lub sijhawm koj tuaj yeem txwv, rov qab thiab tshem tawm koj cov ntaub ntawv.

  1.   Siab tawv said

    Thiab killall?

  2.   oleksis said

    Nws yuav txaus siab yog tias cov ntawv zoo no, yooj yim heev thiab tseem ceeb tshaj plaws rau cov neeg pib tshiab xa nws cov version hauv pdf lossis nruab WordPress plugin uas xa tawm cov lus tawm rau PDF.

    Ua tsaug!

    1.    KZKG ^ Gaara <° Linux said

      Qee lub sijhawm dhau los (ob peb lub hlis tam sim no, yuav luag 1 xyoo) Kuv tau saib xyuas cov plugins uas xa tawm rau PDF tab sis tsis muaj leej twg ua tiav ntseeg kuv, Kuv yuav saib rau ib qho uas zoo txaus rau nruab nws ntawm no aquí

      Txais tos tus khub

      1.    Siab tawv said

        Yuav ua li cas yog koj tswj hwm nws?

  3.   mitcoes said

    Muaj qee cov ntawv dag, uas tuaj yeem siv los ua cov ntawv ntsa, Kuv txawm pom daim ntawv thov / khib lav ntawv uas tau ntxiv rau hauv qhov xaus, tab sis yuav luag txhua yam yog lus Askiv.

    Tej zaum muaj kev yoog ua lus Mev rau lawv yuav pab tau cov nyeem muaj peev xwm ntawm cov lus nthuav qhia no rau lub console.

    Hauv nws lub xyoo 1991 Kuv tau yuav Anaya phau ntawv thiab tsis ntev los no kuv rov nyeem nws thiab kuv nco txog zaj nkauj peb tau hloov ntau npaum li cas, Linux nyob zoo.

    1.    KZKG ^ Gaara <° Linux said

      Yog tias koj pom cov chops no, tso peb qhov txuas thiab kuv yuav zoo siab ua qhov kev txhais lus tsim nyog
      regards

      1.    Siab tawv said

        Muaj qee yam zoo sib xws:

        http://sinwindows.wordpress.com/2011/03/25/cheat-cube-para-varias-distros-de-linux-bonus-track/

        Qhov kuv tsis paub yog tias koj tuaj yeem pom nws, yog tias koj coj tsis tau lawv thiab kuv yuav xa lawv tawm

  4.   Andres said

    Qhov kev kuaj ntawd kuj yog ib qho txaus nyiam 🙂

    kuaj cov lus txib