Linux du命令
[[email protected] ~]# ll total 4 -rw-------. 1 root root 1422 Jun 9 02:30 anaconda-ks.cfg [[email protected] ~]# du 32 .
[[email protected] ~]# ll -a total 32 dr-xr-x---. 2 root root 151 Aug 2 23:07 . dr-xr-xr-x. 17 root root 224 Jun 9 02:28 .. -rw-------. 1 root root 1422 Jun 9 02:30 anaconda-ks.cfg -rw-------. 1 root root 1259 Aug 3 18:02 .bash_history -rw-r--r--. 1 root root 18 Dec 29 2013 .bash_logout -rw-r--r--. 1 root root 176 Dec 29 2013 .bash_profile -rw-r--r--. 1 root root 176 Dec 29 2013 .bashrc -rw-r--r--. 1 root root 100 Dec 29 2013 .cshrc -rw-r--r--. 1 root root 129 Dec 29 2013 .tcshrc -rw-------. 1 root root 651 Aug 2 23:07 .viminfo [[email protected] ~]# du -a 4 ./.bash_logout 4 ./.bash_profile 4 ./.bashrc 4 ./.cshrc 4 ./.tcshrc 4 ./anaconda-ks.cfg 4 ./.bash_history 4 ./.viminfo 32 .
[[email protected] ~]# ll /boot total 121248 -rw-r--r--. 1 root root 147837 Jul 17 00:43 config-3.10.0-862.9.1.el7.x86_64 -rw-r--r--. 1 root root 147819 Apr 21 00:57 config-3.10.0-862.el7.x86_64 drwxr-xr-x. 3 root root 17 Jun 9 02:22 efi drwxr-xr-x. 2 root root 27 Jun 9 02:23 grub drwx------. 5 root root 97 Aug 2 23:10 grub2 -rw-------. 1 root root 55389819 Jun 9 02:27 initramfs-0-rescue-aabc275efe344987a996d5d8c1ba1e25.img -rw-------. 1 root root 21165566 Aug 2 21:01 initramfs-3.10.0-862.9.1.el7.x86_64.img -rw-------. 1 root root 21164735 Aug 2 21:02 initramfs-3.10.0-862.el7.x86_64.img -rw-r--r--. 1 root root 305117 Jul 17 00:45 symvers-3.10.0-862.9.1.el7.x86_64.gz -rw-r--r--. 1 root root 304926 Apr 21 01:00 symvers-3.10.0-862.el7.x86_64.gz -rw-------. 1 root root 3412056 Jul 17 00:43 System.map-3.10.0-862.9.1.el7.x86_64 -rw-------. 1 root root 3409143 Apr 21 00:57 System.map-3.10.0-862.el7.x86_64 -rwxr-xr-x. 1 root root 6224704 Jun 9 02:27 vmlinuz-0-rescue-aabc275efe344987a996d5d8c1ba1e25 -rwxr-xr-x. 1 root root 6234048 Jul 17 00:43 vmlinuz-3.10.0-862.9.1.el7.x86_64 -rwxr-xr-x. 1 root root 6224704 Apr 21 00:57 vmlinuz-3.10.0-862.el7.x86_64
[[email protected] ~]# du /boot 0 /boot/efi/EFI/centos 0 /boot/efi/EFI 0 /boot/efi 2400 /boot/grub2/i386-pc 3176 /boot/grub2/locale 2504 /boot/grub2/fonts 8096 /boot/grub2 4 /boot/grub 129360 /boot
[[email protected] ~]# du -s /boot 129360 /boot
[[email protected] ~]# du -S /boot 0 /boot/efi/EFI/centos 0 /boot/efi/EFI 0 /boot/efi 2400 /boot/grub2/i386-pc 3176 /boot/grub2/locale 2504 /boot/grub2/fonts 16 /boot/grub2 4 /boot/grub 121260 /boot
[[email protected] ~]# du -s /boot/* 148 /boot/config-3.10.0-862.9.1.el7.x86_64 148 /boot/config-3.10.0-862.el7.x86_64 0 /boot/efi 4 /boot/grub 8096 /boot/grub2 54092 /boot/initramfs-0-rescue-aabc275efe344987a996d5d8c1ba1e25.img 20672 /boot/initramfs-3.10.0-862.9.1.el7.x86_64.img 20672 /boot/initramfs-3.10.0-862.el7.x86_64.img 300 /boot/symvers-3.10.0-862.9.1.el7.x86_64.gz 300 /boot/symvers-3.10.0-862.el7.x86_64.gz 3336 /boot/System.map-3.10.0-862.9.1.el7.x86_64 3332 /boot/System.map-3.10.0-862.el7.x86_64 6080 /boot/vmlinuz-0-rescue-aabc275efe344987a996d5d8c1ba1e25 6088 /boot/vmlinuz-3.10.0-862.9.1.el7.x86_64 6080 /boot/vmlinuz-3.10.0-862.el7.x86_64
0 Comments