UTERMINAL
TERMINAL
NEXT
$V1$
PAUSE
ENCORE5
ENCORE
BOX
COMMAND
GO
du
SYNTAX
du [-as] [dirname]
FUNCTION
Gives the number of blocks contained
in all the files in the named directory
as well as in all its subdirectories.
OPTIONS
-a - causes an entry to be generated for each file
-s - only the grand total for each specified name is given
/
~~~~~~~~~~~~
/ | \
/ | \
/ | \
bin etc usr
/ \ / | \ / | \
b a c
/ | \
/ | \
proj
On the file system tree, the disk usage at
the level /usr would be represented as:
20 /usr/a/proj
35 /usr/a
17 /usr/b
:
286 /usr
Let us use the du command. Please type
du to determine the disk usage for the
current directory, and all of its subdirectories.
$PROMPT$
That is correct!
You've got it on the 2nd try.
Good, you understand the concept.
Please type du
Please type du
I guess I must type this for you:
$PROMPT$
FORGET1
$ du
Observe the result on the terminal!
DOSJMP
993 ./quest
38 ./demo/861
38 ./demo/862
42 ./demo/863
43 ./demo/admin
38 ./demo/C
270 ./demo
987 ./admin
1678 ./863
1084 ./862
814 ./861
1009 ./C
327 ./BIN
285 ./startup
66 ./src/861
12 ./src/862
38 ./src/admin
117 ./src
5694 .