asked 11.4k views
1 vote
Which command is used to display disk consumption of a specific directory?

1) du
2) ds
3) dd

asked
User Mkosmala
by
8.0k points

1 Answer

3 votes

Final answer:

The 'du' command is used in Unix-like operating systems to display disk usage of directories and files within the specified directory path.

Step-by-step explanation:

The command used to display disk consumption of a specific directory is du, which stands for 'disk usage'. This command provides information on the amount of disk space used by the files and directories in the specified directory. To use it, you would type du followed by options and the directory's path in the terminal. The du command is valuable for managing disk resources and identifying directories that consume a significant amount of space.

answered
User Daknowles
by
7.6k points