Nrog Rau Lub Chaw Nres Loj: Qhov Loj thiab Qhov Chaw Hais Lus

Cia peb hais tias peb xav paub qhov loj me ntawm cov ntawv, daim nplaub tshev lossis lub hard disk qhov chaw ntawm peb lub server thiab peb tsis muaj lub graphical interface. Yuav ua li cas peb thiaj ua nws?

Saib qhov loj me ntawm cov ntaub ntawv thiab cov nplaub tshev nrog "du".

Muaj ob peb txoj hauv kev los ua kom tiav qhov no. Cia peb saib qee cov lus sam hwm yooj yim los khiav cov ntawv thov uas twb tau nruab, feem ntau nyob hauv txhua lub. Yog tias peb xav tau, piv txwv li, kom paub qhov loj me me ntawm .iso lossis ib daim nplaub tshev tshwj xeeb, peb tuaj yeem siv du.

$ du -bsh /fichero_o_carpeta

Du muaj ntau txoj kev xaiv, tab sis nyob rau hauv rooj plaub no kuv siv cov no 3:

  • -b [–bytes]: Qhia hauv bytes.
  • -s [umsumarize]: Tsuas qhia tag nrho qhov loj me ntawm txhua qhov kev sib cav.
  • -h [–human-nyeem tawm]: Luam tawm qhov ntau thiab tsawg nyeem tau (piv txwv li, 1K, 234M, 2G)

Pom qhov chaw disk nrog "df".

Pom qhov chaw kuv ib txwm siv lo lus txib «df»Vim tias Kuv xav tias nws yog qhov yooj yim tshaj plaws los nyeem. Nws siv yog yooj yim heev, peb tsuas yog yuav tsum tso:

$ df -h

Qhov no yuav rov qab qhov kev faib ua ke, kev siv ntawm qhov chaw hauv txhua qhov thiab qhov seem ntawm tus so, thiab txhua yam nyob hauv kev nyeem tau yooj yim.

Tshooj lej:
Yuav ua li cas tua cov txheej txheem tau yooj yim

Lwm cov ntaub ntawv nrog ntoo.

Tshooj lej:
Kaw thiab pib rov siv cov lus txib

Lwm nqe lus sam hwm zoo nkauj yog «tsob ntooOr Peb yuav tsum teeb tsa nws thiab yog tias peb siv cov lus txib no peb yuav tau txais cov txiaj ntsig zoo.

$ sudo aptitude install tree

thiab sim cov ua txawv:

$ tree /directorio

$ tree -h /directorio

$ tree -dh /directorio


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.

56 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.   F3niX said

    Kuv nyeem cov post no 2 xyoos tom qab. 🙂

  2.   Leo said

    Kuv nyeem cov post no 3 xyoos tom qab xD

  3.   Juan Carlos said

    Zoo heev, cov tswv yim thiab yooj yim. ua tsaug .. !!

  4.   Daniel said

    Kuv nyeem cov post no 4 xyoos tom qab xD

  5.   lus said

    Kuv nyeem cov ncej no 5 xyoos tom qab, tab sis ua tsaug xD

  6.   Ezequiel said

    Nws yog lub Plaub Hlis 2016 thiab lub post tseem pab.

    Tsaug rau lub tswv yim.

  7.   Raul said

    Zoo, qhov no ncej pab kuv, ua tsaug. 15/05/2016

  8.   Sergio said

    Peb yog hnub tim 12/08/2016 thiab XD tseem tab tom ua hauj lwm

  9.   Mario Lara Ua said

    Kuv nyeem cov ncej no hnub tim 18/08/2016 thiab koj tsis tuaj yeem xav tias nws tau pab kuv ntau npaum li cas.

  10.   Francisco Martin said

    Tseem pab tau kawg!

    Raws li kev txuam ntxiv: Yog tias koj khiav df -hT, nrog T, koj tuaj yeem pom hom filesystem rau txhua qhov mount kis: ext4, xfs, thiab lwm yam.

    df -HT

    Pom hauv: http://www.sysadmit.com/2016/08/linux-ver-espacio-en-disco.html

  11.   Nco Recra said

    Kuv nyeem cov lus no rau hnub 01/09/2016

  12.   Abraham said

    05 / Sept / 2016 Ua tsaug!

  13.   Gerard said

    Kuv nyeem cov lus no 5 xyoos tom qab, yog lub Cuaj Hlis 27, 2016.
    XDDD

  14.   John titor said

    Kuv tuaj txog yav tom ntej thiab cov ncej tseem pab tau.
    05 / 11 / 2059

  15.   Ulan said

    4 hnub tom qab ntawm Jhon Titor yav tom ntej thiab tseem siv tau. 9-11-2016. Salu2.

  16.   Pablo said

    KUV TUAJ LOS NTAWM LUB CAIJ TSHWM SIM NO, DAB TSI NO UA TAU LOS RAU?

  17.   Zentola said

    Cov ncej no ua rau kuv nco txog kev ncua sijhawm, thiab qhov txheeb ze ntawm lub sijhawm.
    Qhib qhov chaw yog ib txwm pab tau. 😉 thiab nrog phooj ywg los ntawm DesdeLinux thiab UsemosLinux, siv tau ntau dua.
    Ua kuv tus phooj ywg debian

  18.   german said

    Lub Ib Hlis 2017, ua tsaug rau daim ntawv tshaj tawm! 🙂

  19.   Anselmo Gimeno said

    Zoo heev. Thiab kuv pom tam sim no, Lub Ob Hlis 2017.
    Ib tug tos txais.

  20.   zab said

    27-02-2017 pab tau zoo heev

  21.   Mike_DCX said

    Pab kuv: 09-05-2017

  22.   Michael said

    Thiab qhov tseeb yog nws tseem pab !! Nrog koj zoo siab.

  23.   anonymous said

    Lub Rau Hli 8, 2017 thiab tseem pab.
    Tsaug

  24.   diego said

    Lub Rau Hli 23, 2017… thiab tseem yuav pab ntxiv mus

  25.   anonymous said

    Lub Rau Hli 29 thiab pab txuas ntxiv …… Ua tsaug!

  26.   Yexus said

    Zoo heev, ua tsaug koj pab kuv hnub no. 325 BC

  27.   Gabo said

    tseem ua haujlwm, tseem ua haujlwm !!! 17/07/2017

  28.   anonymous said

    WOW

  29.   anonymous said

    Peb twb nyob txog xyoo 2032 lawm los nws tseem ua haujlwm pab hahaha

  30.   hnub qub said

    Kuv nyeem cov ntawv no hauv lub Peb Hlis 2017 thiab hnub no kuv tau sim nws tab sis lim cov txiaj ntsig nrog grep

    df -hT | grep sd ua

    qhov twg sd yog qhov nyuaj tsav lossis nyuaj nyuaj uas peb tau txhim kho.

  31.   hnub qub said

    Kuv tau sim nws txoj kev no

    df -hT | grep sd ua

  32.   Yog Burgos said

    Txaus nyiam heev li. Txhawm rau ntxiv, nws muaj peev xwm txheeb xyuas cov txiaj ntsig ntawm du -h (uas qhia qhov tshwm sim hauv MB, GB, ...) los ntawm kev tawm cov zis mus rau qhov-hais kom ua. Nrog -h ntawm cov tsi koj tuaj yeem xaiv cov zis du -h los ntawm loj me.

    Ntau cov ntaub ntawv thiab cov piv txwv: http://www.sysadmit.com/2017/09/linux-saber-tamano-directorio.html

  33.   anonymous said

    Cuaj hlis, Kuv nyiam

  34.   anonymous said

    Lub Cuaj Hli 27, 2017 ...

  35.   anonymous said

    Lub Ib Hlis 2147

  36.   anonymous said

    cov ntaub ntawv zoo heev tau pab kuv ntau ... regards

  37.   anonymous said

    19/10/2017 thiab pab txuas ntxiv mus

  38.   Carlos said

    21 - 10 - 2017 Ua tsaug !!!

  39.   carlos said

    Kuv nyiam papayas

  40.   Pepe said

    peb mus !!

  41.   Daniel Portugal Revilla: koj puas xav tau ntau tus thwjtim? said

    tseem muab kev pab !!! 10/12/2017 yuav luag txog Christmas!
    Nws pab kuv: Kuv muaj CentOS tsawg heev ntsia ntawm 5GB virtual disk, thiab kuv muaj ob peb pob khoom tsim los rau xa cov ntawv thov node.js.

  42.   Rolando said

    15-12-2017 Ua tsaug ntau rau kwv tij, zoo heev.

  43.   ibRoswell said

    28-12-2017 Tseem pab, ua tsaug rau koj cov txiv neej.

  44.   Mixterix said

    06-01-2018 thiab nws tau pab kuv ntawm hauv nrog termux

  45.   anonymous said

    Nws muaj qee cov ntaub ntawv, tab sis tsis muaj tag nrho. Tseem kuv tau poob siab, Zoo tshaj ncej, ua tsaug

  46.   anonymous said

    Kuv nyeem cov post no 7 xyoo tom qab.

  47.   anonymous said

    Kuv nyeem cov ncej no thiab nws tseem tsis hlub kuv: 'v

  48.   anonymous said

    23/02/2018…. tsis yog kom poob ...
    Nws tseem pab!

  49.   anonymous said

    23/03/2018 Lub No Puas Yog Sawv Rov Los?

    1.    Zentola said

      Koj tuaj ntsib peb ntawm yav tom ntej !!!
      08 / 03 / 2018

  50.   Tshoob said

    25/03/2018 Tseem Ua Haujlwm!

    tsaug!

  51.   Duab Ntxoo30 said

    14/04/2018 Thiab Tseem Ua Haujlwm

  52.   John Edison Castro Cubillos said

    «Hloov tshiab 2018/05»
    Yuav tsum muaj kev sib cav rau cov kev xaiv ntev kuj tseem yuav tsum ua
    rau cov kev xaiv luv.

    -a, includeall suav nrog cov tshuab kaw lus dummy
    -B, –block-loj = SIZE nplai ntau thiab tsawg los ntawm SIZE ua ntej luam ntawv lawv; Piv txwv li
    IrectDirect qhia cov txheeb cais rau cov ntawv hloov chaw taw tes
    Tag nrho cov khoom lag luam loj tag nrho
    -h, umanhuman-nyeem tau cov ntawv ntau thiab tsawg hauv cov ntawv uas tib neeg nyeem tau (piv txwv li, 1K 234M 2G)
    -H, –si tib yam nkaus, tab sis siv fais fab ntawm 1000 tsis yog 1024
    -i, –inodes qhia i-node cov lus qhia tsis txhob siv cov block
    -k li –block-loj = 1K
    -l, –local txwv cov npe rau lub nroog cov chaw tswj
    –Tsis-sync tsis hu sync ua ntej tau txais kev siv
    –Output [= FIELD_LIST] siv cov zis ntawv tawm raws li txhais los ntawm
    -P, –portability siv hom POSIX rau cov zis
    Sync hu sync ua ntej tau txais kev siv
    -t, –type = HOM txwv cov npe mus ua cov kab ke ntawm hom HOM
    -T, –print-type qhia tau hais tias hom chaw ua kab ke
    -x, –exclude-type = HOM txwv cov npe rau filesystems uas tsis yog hom NTAUS
    -v (tsis muaj tus muaj txiaj ntsig)
    ElHelp qhia cov kev pab no thiab xaus
    Version tshaj tawm cov ntawv tawm thiab chaw tawm

  53.   bpmircea ua said

    txaus, Lub rau hli ntuj 2o18 thiab lub xd dag tseem ua haujlwm

  54.   Cim1234s4 said

    2019 koj

  55.   Ntsib neeg Archibaldo de la Cruz said

    21-02-2020 Kev xa ntawv tseem pab. Ua tsaug ntau.