Bird
0
0

What does the du command primarily show in Linux?

easy📝 Conceptual Q11 of 15
Linux CLI - Disk and Storage
What does the du command primarily show in Linux?
AThe disk space used by files and directories
BThe number of files in a directory
CThe current directory path
DThe list of running processes
Step-by-Step Solution
Solution:
  1. Step 1: Understand the purpose of du

    The du command stands for disk usage and shows how much space files and directories use.
  2. Step 2: Compare options

    Options B, C, and D relate to other commands like ls or ps, not du.
  3. Final Answer:

    The disk space used by files and directories -> Option A
  4. Quick Check:

    du = disk space used [OK]
Quick Trick: Remember: du = disk usage, shows space used [OK]
Common Mistakes:
  • Confusing du with ls or ps commands
  • Thinking du shows file counts
  • Assuming du shows current directory path

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Linux CLI Quizzes