some commands for disk management

1. df  (view disk partition usage)

        -l        only show the local disk  (default)

        -a       show all file system disk usage, include 0 byte file system

        -h       The most appropriate unit to calculate the disk capacity of 1024

        -H      The most appropriate unit to calculate the disk capacity of 1000

        -T       display disk partition type

        -t        display the specified file system disk partition

        -x       dont display the specified file system disk partition


2. du  (count the file size)

        -b       byte

        -k       KB

        -m      MB

        -h       The most appropriate unit to calculate the file size of 1024

        -H      The most appropriate unit to calculate the file size of 1000

        -s       count the specified file

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章