Displaying Size of Directories Assignment Help

Assignment Help: >> Introduction to File System - Displaying Size of Directories

Displaying the size of directories

The given command describes the disk usage through the directoy.

Syntax

du [options] <directory-name>

Options

Directory -    Display usage for the specified directory. By default is the current directory.

-a              -    Display not just directories but also usage for all files.

-s              -    Display only the total disk usage.

# du

409                  ./doc

945                  ./lib

68                    ./man

60                    ./m4

391                  ./src

141                  ./intl

873                  ./po

3402    .          

The first column displays the blocks of disk used via the subdirectories.

The second column displays the names of the subdirectory being evaluated and to look how many kilobytes every subdirectory consumes.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd