Bird
0
0

What does the du command display when run without any options?

easy📝 Conceptual Q1 of 15
Linux CLI - Disk and Storage
What does the du command display when run without any options?
AList of files sorted by size
BDisk usage of each directory and subdirectory in the current folder
CTotal free disk space available on the system
DCurrent working directory path
Step-by-Step Solution
Solution:
  1. Step 1: Understand the default behavior of du

    The du command by default shows disk usage for each directory and subdirectory starting from the current directory.
  2. Step 2: Compare options

    The options describing a list of files sorted by size, total free disk space available, or current working directory path are unrelated to du default output.
  3. Final Answer:

    Disk usage of each directory and subdirectory in the current folder -> Option B
  4. Quick Check:

    Default du output = Disk usage per directory [OK]
Quick Trick: Default du lists sizes per directory recursively [OK]
Common Mistakes:
  • Confusing du with df
  • Expecting file list instead of directory sizes

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Linux CLI Quizzes