You work as a Technician for Net World Inc. The company has a Linux-based network. You have
configured a file server on the company’s etwork. You want to summarize disk usage of each file
in a particular directory on the file server. Which of the following commands will you use?
A.
du
B.
fsck
C.
df
D.
dfsck
Explanation:
The du command is used to summarize disk usage. The du command displays the number of
blocks used for files. If the File parameter specified is actually a directory, the disk usage of all files
within the directory are summarized. If no
File parameter is provided, the du command uses the files in the current directory.
Answer option C is incorrect. The df command reports information about space on file systems.
Answer option B is incorrect. The fsck command checks file system consistency and interactively
repairs the file system.
Answer option D is incorrect. The dfsck command checks and repairs two file systems
simultaneously on different drives.