Examveda
Examveda

Which of the following options will be used to display number of blocks used by a file?

A. -c

B. -d

C. -i

D. -s

E. None of the above

Answer: Option D

Solution(By Examveda Team)

In Unix, the du command is used to estimate file space usage. The -s option, when used with du, displays only a summary of the disk usage, including the total number of blocks used by a file or directory.
So, -s is the option used to display the number of blocks used by a file.

This Question Belongs to Computer Science >> Unix

Join The Discussion

Related Questions on Unix