Bird
0
0

A user runs df -hT but gets a syntax error. What is the problem?

medium📝 Debug Q7 of 15
Linux CLI - Disk and Storage
A user runs df -hT but gets a syntax error. What is the problem?
AOptions -h and -T must be separated by space
BOptions -h and -T can be combined without error
CThe -T option is not supported on this system
DThe user typed a wrong command
Step-by-Step Solution
Solution:
  1. Step 1: Understand option compatibility

    The -T option shows filesystem type but may not be supported on all systems.
  2. Step 2: Check option combination

    Options -h and -T can be combined without space; syntax error suggests unsupported option.
  3. Final Answer:

    The -T option is not supported on this system -> Option C
  4. Quick Check:

    Unsupported option causes syntax error = B [OK]
Quick Trick: Check man page if option causes syntax error [OK]
Common Mistakes:
  • Assuming combined options need space
  • Ignoring system differences
  • Typing wrong command accidentally

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Linux CLI Quizzes