niedziela, 3 listopada 2013

ncdu

ncdu (NCurses Disk Usage) is a command line version of the most popular du command. 
If you don't have much time to compose advanced command. Use ncdu:

1. sudo apt-get install ncdu (also availavle in redhat distros)
2. ncdu

ncdu 1.10 ~ Use the arrow keys to navigate, press ? for help                        
--- /home/marek/Pobrane ------------------------------------------------------------
  694,0MiB [##########]  elementaryos-stable-amd64.20130810.iso                     
  390,3MiB [#####     ] /occam-jwr66y
  355,0MiB [#####     ]  occam-jwr66y-factory-74b1deab.tgz
  276,1MiB [###       ] /pa_aosp_mako
  190,0MiB [##        ]  pa_gapps-full-4.4-20131102-signed.zip
  166,6MiB [##        ]  pa_aosp_mako.zip
   40,2MiB [          ]  google-chrome-stable_current_i386.deb
    8,1MiB [          ]  openrecovery-twrp-2.4.1.0-mako.img
    4,4MiB [          ]  recovery-clockwork-5.0.2.8-marvel.img
    1,2MiB [          ]  UPDATE-SuperSU-v1.50.zip
   60,0KiB [          ]  elementaryos-stable-amd64.20130810.iso.torrent
   24,0KiB [          ]  Harmonogram_szczyt_klimatyczny.xlsx




ncdu / - it will be scan all your disk and give you:

ncdu 1.10 ~ Use the arrow keys to navigate, press ? for help                        
--- / ------------------------------------------------------------------------------
.   8,3GiB [##########] /home                                                       
    2,8GiB [###       ] /usr
.   1,7GiB [##        ] /var
  411,0MiB [          ] /lib
  173,7MiB [          ] /opt
   57,6MiB [          ] /boot
.  13,2MiB [          ] /etc
   10,8MiB [          ] /sbin
    9,5MiB [          ] /bin
.   1,5MiB [          ] /run
.  36,0KiB [          ] /tmp
!  16,0KiB [          ] /lost+found
    8,0KiB [          ] /media
    4,0KiB [          ] /dev
    4,0KiB [          ] /lib64
e   4,0KiB [          ] /srv
!   4,0KiB [          ] /root
e   4,0KiB [          ] /mnt
e   4,0KiB [          ] /cdrom
.   0,0  B [          ] /proc
.   0,0  B [          ] /sys
@   0,0  B [          ]  initrd.img.old
@   0,0  B [          ]  initrd.img
@   0,0  B [          ]  vmlinuz.old
@   0,0  B [          ]  vmlinuz

Brak komentarzy:

Prześlij komentarz